The error was:
undefined reference to symbol 'lround@@GLIBC_2.2.5'
For some reason -lm found in liblwgeom.la is not being taken
in consideration. See #2649
git-svn-id: http://svn.osgeo.org/postgis/trunk@12249
b70326c6-7e19-0410-871a-
916f4a2858ee
# Build the main unit test executable
cu_tester: ../liblwgeom.la $(OBJS)
- $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o $@ $(OBJS) ../liblwgeom.la $(CUNIT_LDFLAGS)
+ $(LIBTOOL) --mode=link $(CC) $(CFLAGS) -o $@ $(OBJS) ../liblwgeom.la -lm $(CUNIT_LDFLAGS)
#$(CC) -o $@ $(OBJS) ../.libs/liblwgeom.a -lm $(CUNIT_LDFLAGS) $(LDFLAGS)
# Command to build each of the .o files