[postgis-commits] svn - r3489 - trunk/liblwgeom/cunit

postgis-commits at postgis.refractions.net postgis-commits at postgis.refractions.net
Sun Jan 4 11:54:47 PST 2009


Author: mcayland
Date: 2009-01-04 11:54:47 -0800 (Sun, 04 Jan 2009)
New Revision: 3489

Modified:
   trunk/liblwgeom/cunit/Makefile.in
Log:
Add -lm to the cu_tester link line - we must always add this to the link line for anything that links agains liblwgeom.a (at least on my Linux system here)


Modified: trunk/liblwgeom/cunit/Makefile.in
===================================================================
--- trunk/liblwgeom/cunit/Makefile.in	2009-01-04 19:31:41 UTC (rev 3488)
+++ trunk/liblwgeom/cunit/Makefile.in	2009-01-04 19:54:47 UTC (rev 3489)
@@ -12,7 +12,7 @@
 
 INCLUDES = -I$(CUNIT_HEADER) -I$(LWGEOM)
 CFLAGS = -g $(MSDEFINES) $(INCLUDES)
-LIBS = $(LIBLWGEOM) $(CUNIT_LIB)
+LIBS = $(LIBLWGEOM) $(CUNIT_LIB) -lm
 LDFLAGS = 
 
 cu_tester: $(OBJS) $(LIBS)



More information about the postgis-commits mailing list