]> granicus.if.org Git - postgis/commitdiff
Build liblwgeom with -no-undefined flag
authorSandro Santilli <strk@keybit.net>
Thu, 11 Jun 2015 09:06:47 +0000 (09:06 +0000)
committerSandro Santilli <strk@keybit.net>
Thu, 11 Jun 2015 09:06:47 +0000 (09:06 +0000)
Doing so should report unresolved symbol references from regular
object files.

git-svn-id: http://svn.osgeo.org/postgis/trunk@13650 b70326c6-7e19-0410-871a-916f4a2858ee

liblwgeom/Makefile.in

index 7eb5c17d25d5f6edee60f0b265e3a788e125806c..82baaf2bb6f5fd053fcb270c67a4872000e355b0 100644 (file)
@@ -100,6 +100,8 @@ LDFLAGS += @SFCGAL_LDFLAGS@
 SA_OBJS += lwgeom_sfcgal.o
 endif
 
+LDFLAGS += -no-undefined
+
 LT_SA_OBJS = $(SA_OBJS:.o=.lo)
 LT_NM_OBJS = $(NM_OBJS:.o=.lo)
 LT_OBJS = $(LT_SA_OBJS) $(LT_NM_OBJS)