Opened 17 years ago
Closed 17 years ago
#69 closed defect (fixed)
grass build fails when build with -as-needed linker flag
Reported by: | wrobell | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 6.4.0 |
Component: | Default | Version: | 6.3.0 RCs |
Keywords: | Cc: | ||
CPU: | Unspecified | Platform: | Unspecified |
Description
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
the patch was created by Jakub Bogusz (qboosh at pld-linux dot org) and updated by me for grass 6.3.0RC5.
Attachments (1)
Change History (7)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
i've updated the patch (see above link) to use $(MATHLIB). seems to work.
comment:3 by , 17 years ago
Milestone: | 6.3.0 → 6.4.0 |
---|
comment:6 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Replying to wrobell:
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.