summaryrefslogtreecommitdiffstats
path: root/lib/libalpm
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2015-11-28 23:42:56 +0100
committerAllan McRae <allan@archlinux.org>2015-12-04 02:06:49 +0100
commit088649534e7fd493cab4fce335f50a68108a48a6 (patch)
tree83d92821905edbbabfe9d6779da081c7021b9a88 /lib/libalpm
parentdfa4dcb16d42a84a76ed22792f681190aaa60b31 (diff)
downloadpacman-088649534e7fd493cab4fce335f50a68108a48a6.tar.gz
pacman-088649534e7fd493cab4fce335f50a68108a48a6.tar.xz
Add large file support CFLAGS to pkgconfig file
Large file support is enabled by our configure script as required. If anything linking to libalpm does not also define large file support, there will be differences in the size of off_t which are not caught until runtime. Add the required CFLAGS to the pkg-config file so that users of libalpm know what flags are required. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm')
-rw-r--r--lib/libalpm/libalpm.pc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/libalpm.pc.in b/lib/libalpm/libalpm.pc.in
index fdfc8be6..e4be1741 100644
--- a/lib/libalpm/libalpm.pc.in
+++ b/lib/libalpm/libalpm.pc.in
@@ -7,6 +7,6 @@ Name: libalpm
Description: Arch Linux package management library
URL: http://www.archlinux.org/pacman/
Version: @LIB_VERSION@
-Cflags: -I${includedir}
+Cflags: -I${includedir} @LFS_CFLAGS@
Libs: -L${libdir} -lalpm
Libs.private: @LIBS@ @LIBARCHIVE_LIBS@ @LIBSSL_LIBS@ @LIBCURL_LIBS@ @GPGME_LIBS@