[Xapian-tickets] [Xapian] #540: Add pkg-config support to libxapian
Xapian
nobody at xapian.org
Wed Mar 16 12:01:32 GMT 2011
#540: Add pkg-config support to libxapian
--------------------------+-------------------------------------------------
Reporter: MacSlow | Owner: olly
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Build system | Version:
Severity: normal | Keywords:
Blockedby: | Platform: All
Blocking: |
--------------------------+-------------------------------------------------
Comment(by MacSlow):
A .pc file (generated from the libxapian build) would be just the thing
needed. Here's an example (taken from zlib.pc):
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: zlib
Description: zlib compression library
Version: 1.2.3.4
Requires:
Libs: -L${libdir} -lz
Cflags: -I${includedir}
With that the XO_LIB_XAPIAN-macro would not be needed afaik.
--
Ticket URL: <http://trac.xapian.org/ticket/540#comment:3>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list