]> granicus.if.org Git - postgis/commitdiff
I'm not sure this "fix" was actually a fix so I'm removing it.
authorPaul Ramsey <pramsey@cleverelephant.ca>
Tue, 6 Mar 2012 16:19:25 +0000 (16:19 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Tue, 6 Mar 2012 16:19:25 +0000 (16:19 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9410 b70326c6-7e19-0410-871a-916f4a2858ee

loader/Makefile.in

index b15992657c7ebf6fceda14724f7995126054bb77..21e7ee2345feaa2974873c8bfbc96d57f1a92d8e 100644 (file)
@@ -27,7 +27,6 @@ top_builddir = @top_builddir@
 SHELL = @SHELL@
 INSTALL = $(SHELL) ../install-sh
 LIBTOOL = @LIBTOOL@
-LIBTOOL_LINK_COMMANDS = -static
 
 # Filenames with extension as determined by the OS
 PGSQL2SHP-CLI=pgsql2shp@EXESUFFIX@
@@ -98,13 +97,11 @@ pgsql2shp-cli.o: pgsql2shp-cli.c pgsql2shp-core.h shpcommon.h
 
 $(PGSQL2SHP-CLI): $(SHPLIB_OBJS) pgsql2shp-core.o pgsql2shp-cli.o $(LIBLWGEOM) 
        $(LIBTOOL) --mode=link \
-         $(CC) $(CFLAGS) $^ $(ICONV_LDFLAGS) $(PGSQL_FE_LDFLAGS) $(GETTEXT_LDFLAGS) -o $@ \
-         $(LIBTOOL_LINK_COMMANDS)
+         $(CC) $(CFLAGS) $^ $(ICONV_LDFLAGS) $(PGSQL_FE_LDFLAGS) $(GETTEXT_LDFLAGS) -o $@ 
 
 $(SHP2PGSQL-CLI): $(SHPLIB_OBJS) shp2pgsql-core.o shp2pgsql-cli.o $(LIBLWGEOM) 
        $(LIBTOOL) --mode=link \
-         $(CC) $(CFLAGS) $^ -o $@ $(GETTEXT_LDFLAGS) $(ICONV_LDFLAGS) \
-         $(LIBTOOL_LINK_COMMANDS)
+         $(CC) $(CFLAGS) $^ -o $@ $(GETTEXT_LDFLAGS) $(ICONV_LDFLAGS) 
 
 shp2pgsql-gui.o: shp2pgsql-gui.c shp2pgsql-core.h shpcommon.h
        $(CC) $(CFLAGS) $(GTK_CFLAGS) $(PGSQL_FE_CPPFLAGS) -o $@ -c shp2pgsql-gui.c
@@ -112,8 +109,7 @@ shp2pgsql-gui.o: shp2pgsql-gui.c shp2pgsql-core.h shpcommon.h
 $(SHP2PGSQL-GUI): $(SHPLIB_OBJS) shp2pgsql-core.o shp2pgsql-gui.o pgsql2shp-core.o $(LIBLWGEOM) $(GTK_WIN32_RES)
        $(LIBTOOL) --mode=link \
          $(CC) $(CFLAGS) $(GTK_WIN32_FLAGS) $^ -o $@ \
-         $(GTK_LIBS) $(ICONV_LDFLAGS) $(PGSQL_FE_LDFLAGS) $(GETTEXT_LDFLAGS) \
-         $(LIBTOOL_LINK_COMMANDS)
+         $(GTK_LIBS) $(ICONV_LDFLAGS) $(PGSQL_FE_LDFLAGS) $(GETTEXT_LDFLAGS) 
 
 installdir:
        @mkdir -p $(DESTDIR)$(bindir)