Opened 16 years ago
Closed 11 years ago
#459 closed defect (fixed)
lib/cairodriver uses FontConfig but doesn't link against it
Reported by: | glynn | Owned by: | glynn |
---|---|---|---|
Priority: | major | Milestone: | 7.0.0 |
Component: | Display | Version: | svn-trunk |
Keywords: | Cc: | grass-dev@… | |
CPU: | All | Platform: | Unspecified |
Description
From grass-dev:
gcc -shared -o /home/neteler/grass70/dist.x86_64-unknown-linux-gnu/lib/libgrass_cairodriver.7.0.svn.so
/home/neteler/grass70/dist.x86_64-unknown-linux-gnu/lib/libgrass_cairodriver.so) OBJ.x86_64-unknown-linux-gnu/Text.o: In function `fc_init': /home/neteler/grass70/lib/cairodriver/Text.c:180: undefined reference to `FcInit'
We need configure checks for FontConfig.
Note:
See TracTickets
for help on using tickets.
Replying to glynn:
For now, I've added $(FCLIB) to EXTRA_LIBS in lib/cairodriver/Makefile.
I still need to add the configure checks etc to actually set this variable.
AFAICT, it only matters if you use -Wl,--no-undefined; in that case you can use e.g.
until FCLIB gets defined.