[GRASS-SVN] r31423 - in grass/trunk/lib: gis vector/diglib
vector/rtree
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon May 19 06:20:13 EDT 2008
Author: neteler
Date: 2008-05-19 06:20:13 -0400 (Mon, 19 May 2008)
New Revision: 31423
Modified:
grass/trunk/lib/gis/Makefile
grass/trunk/lib/vector/diglib/Makefile
grass/trunk/lib/vector/rtree/Makefile
Log:
added MATHLIB for -as-needed linker flag (trac #69) (merge from devel_branch6)
Modified: grass/trunk/lib/gis/Makefile
===================================================================
--- grass/trunk/lib/gis/Makefile 2008-05-19 10:19:42 UTC (rev 31422)
+++ grass/trunk/lib/gis/Makefile 2008-05-19 10:20:13 UTC (rev 31423)
@@ -1,7 +1,7 @@
MODULE_TOPDIR = ../..
LIB_NAME = $(GIS_LIBNAME)
-EXTRA_LIBS = $(XDRLIB) $(DATETIMELIB) $(INTLLIB)
+EXTRA_LIBS = $(XDRLIB) $(DATETIMELIB) $(INTLLIB) $(MATHLIB)
DATASRC = ellipse.table datum.table datumtransform.table FIPS.code state27 state83 projections gui.tcl
include $(MODULE_TOPDIR)/include/Make/Lib.make
Modified: grass/trunk/lib/vector/diglib/Makefile
===================================================================
--- grass/trunk/lib/vector/diglib/Makefile 2008-05-19 10:19:42 UTC (rev 31422)
+++ grass/trunk/lib/vector/diglib/Makefile 2008-05-19 10:20:13 UTC (rev 31423)
@@ -1,6 +1,6 @@
MODULE_TOPDIR = ../../..
-EXTRA_LIBS=$(GISLIB) $(RTREELIB)
+EXTRA_LIBS=$(GISLIB) $(RTREELIB) $(MATHLIB)
LIB_NAME = $(DIG2_LIBNAME)
Modified: grass/trunk/lib/vector/rtree/Makefile
===================================================================
--- grass/trunk/lib/vector/rtree/Makefile 2008-05-19 10:19:42 UTC (rev 31422)
+++ grass/trunk/lib/vector/rtree/Makefile 2008-05-19 10:20:13 UTC (rev 31423)
@@ -9,6 +9,8 @@
rect.o \
split_q.o
+EXTRA_LIBS = $(MATHLIB)
+
include $(MODULE_TOPDIR)/include/Make/Lib.make
RTLINC = $(ARCH_INCDIR)/rtree
More information about the grass-commit
mailing list