SOURCES (DEVEL): grass-link.patch - use MATHLIB instead of -lm

wrobell wrobell at pld-linux.org
Fri Feb 29 03:10:48 CET 2008


Author: wrobell                      Date: Fri Feb 29 02:10:48 2008 GMT
Module: SOURCES                       Tag: DEVEL
---- Log message:
- use MATHLIB instead of -lm

---- Files affected:
SOURCES:
   grass-link.patch (1.1.2.1 -> 1.1.2.2) 

---- Diffs:

================================================================
Index: SOURCES/grass-link.patch
diff -u SOURCES/grass-link.patch:1.1.2.1 SOURCES/grass-link.patch:1.1.2.2
--- SOURCES/grass-link.patch:1.1.2.1	Sat Feb 23 15:41:48 2008
+++ SOURCES/grass-link.patch	Fri Feb 29 03:10:43 2008
@@ -6,7 +6,7 @@
  
  LIB_NAME = $(GIS_LIBNAME)
 -EXTRA_LIBS = $(XDRLIB) $(DATETIMELIB) $(INTLLIB)
-+EXTRA_LIBS = $(XDRLIB) $(DATETIMELIB) $(INTLLIB) -lm
++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
@@ -17,7 +17,7 @@
  MODULE_TOPDIR = ../../..
  
 -EXTRA_LIBS=$(GISLIB) $(RTREELIB)
-+EXTRA_LIBS=$(GISLIB) $(RTREELIB) -lm
++EXTRA_LIBS=$(GISLIB) $(RTREELIB) $(MATHLIB)
  
  LIB_NAME = $(DIG2_LIBNAME)
  
@@ -28,7 +28,7 @@
  	rect.o \
  	split_q.o 
  
-+EXTRA_LIBS = -lm
++EXTRA_LIBS = $(MATHLIB)
 +
  include $(MODULE_TOPDIR)/include/Make/Lib.make
  
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/grass-link.patch?r1=1.1.2.1&r2=1.1.2.2&f=u



More information about the pld-cvs-commit mailing list