Follow-up Comment #3, bug #15973 (project freeciv):
Here is a better patch. This one sets up some autoconf variables for the
common and utility libs.
1. It sets up a COMMON_LIBS autoconf variable, which is used as an extra
LIBADD for libfreeciv.
2. It sets up a UTILTITY_LIBS autoconf variable, which is used as an extra
LIBADD for the utility convenience library.
3. -lz and -lbz2 are added to COMMON_LIBS and UTILITY_LIBS as appropriate.
The client and server don't need to link to them directly, so they should't
be in LIBS.
Additional Item Attachment:
File name: autoconf_common_and_utility_libs.patch Size:2 KB
Reply to this item at:
Message sent via/by Gna!
Freeciv-dev mailing list