[GRASS-dev] Re: [GRASS GIS] #69: grass build fails when build with
-as-needed linker flag
GRASS GIS
trac at osgeo.org
Tue Feb 26 10:46:40 EST 2008
#69: grass build fails when build with -as-needed linker flag
----------------------+-----------------------------------------------------
Reporter: wrobell | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: minor | Milestone: 6.3.0
Component: default | Version: 6.3.0 RCs
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Comment (by glynn):
Replying to [ticket:69 wrobell]:
> grass build fails when build with -as-needed linker flag (see ld
manual).
>
> it is simply solved by patch
>
> http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/grass-link.patch
This should use $(MATHLIB) rather than -lm.
E.g. -lm won't work on Windows, which doesn't have libm; math functions
are in MSVCRT.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/69#comment:1>
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/
More information about the grass-dev
mailing list