From: Sandro Santilli Date: Tue, 17 Mar 2015 09:03:20 +0000 (+0000) Subject: Libtoolize build of loader unit tester, fixing build for me X-Git-Tag: 2.2.0rc1~590 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d1d939a09fd730fecf4cf88b0355fac0139d3041;p=postgis Libtoolize build of loader unit tester, fixing build for me git-svn-id: http://svn.osgeo.org/postgis/trunk@13344 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/loader/cunit/Makefile.in b/loader/cunit/Makefile.in index bc7b71608..a4403f5c6 100644 --- a/loader/cunit/Makefile.in +++ b/loader/cunit/Makefile.in @@ -10,8 +10,11 @@ # * # ********************************************************************** +top_builddir = @top_builddir@ CC=@CC@ CFLAGS=@CFLAGS@ @WARNFLAGS@ +SHELL = @SHELL@ +LIBTOOL = @LIBTOOL@ CUNIT_LDFLAGS=@CUNIT_LDFLAGS@ CUNIT_CPPFLAGS=@CUNIT_CPPFLAGS@ -I.. @@ -26,7 +29,7 @@ PGSQL_FE_CPPFLAGS=@PGSQL_FE_CPPFLAGS@ PGSQL_FE_LDFLAGS=@PGSQL_FE_LDFLAGS@ # liblwgeom -LIBLWGEOM=../../liblwgeom/.libs/liblwgeom.a +LIBLWGEOM=../../liblwgeom/.libs/liblwgeom.la # iconv flags ICONV_LDFLAGS=@ICONV_LDFLAGS@ @@ -77,6 +80,7 @@ endif # Build the main unit test executable cu_tester: $(LOADER_OBJS) $(OBJS) + $(LIBTOOL) --mode=link \ $(CC) $^ -o $@ $(LIBLWGEOM) $(LDFLAGS) # Command to build each of the .o files