[postgis-tickets] r17211 - Only build static liblwgeom
Raul
raul at rmr.ninja
Tue Jan 22 07:04:04 PST 2019
Author: algunenano
Date: 2019-01-22 07:04:04 -0800 (Tue, 22 Jan 2019)
New Revision: 17211
Modified:
trunk/liblwgeom/Makefile.in
trunk/liblwgeom/cunit/Makefile.in
Log:
Only build static liblwgeom
References #4260
Closes https://github.com/postgis/postgis/pull/366
Modified: trunk/liblwgeom/Makefile.in
===================================================================
--- trunk/liblwgeom/Makefile.in 2019-01-22 12:29:06 UTC (rev 17210)
+++ trunk/liblwgeom/Makefile.in 2019-01-22 15:04:04 UTC (rev 17211)
@@ -171,7 +171,7 @@
liblwgeom.la: $(LT_OBJS)
$(LIBTOOL) --tag=CC --mode=link $(CC) -rpath $(libdir) $(LT_OBJS) \
- -release $(SOVER) -version-info $(VERSION_INFO) $(LDFLAGS) -o $@
+ -release $(SOVER) -version-info $(VERSION_INFO) $(LDFLAGS) -static -o $@
maintainer-clean: clean
rm -f lwin_wkt_lex.c
Modified: trunk/liblwgeom/cunit/Makefile.in
===================================================================
--- trunk/liblwgeom/cunit/Makefile.in 2019-01-22 12:29:06 UTC (rev 17210)
+++ trunk/liblwgeom/cunit/Makefile.in 2019-01-22 15:04:04 UTC (rev 17211)
@@ -95,7 +95,7 @@
# Build the main unit test executable
cu_tester: ../liblwgeom.la $(OBJS)
- $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o $@ $(OBJS) ../liblwgeom.la $(LDFLAGS)
+ $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o $@ $(OBJS) $(LDFLAGS) -static ../liblwgeom.la
# Command to build each of the .o files
$(OBJS): %.o: %.c
More information about the postgis-tickets
mailing list