#69: grass build fails when build with -as-needed linker flag
----------------------+-----------------------------------------------------
Reporter: wrobell | Owner: [email protected]
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/
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev