summaryrefslogtreecommitdiffstats
path: root/scripts/libmakepkg/util/option.sh.in
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2019-04-15 02:56:17 +0200
committerAllan McRae <allan@archlinux.org>2019-05-08 02:15:52 +0200
commit583f3122ce3b98c384165d47c126aaa5c98ea392 (patch)
tree7911ddb98de66b6dd94a8aba46acc9630fd4f44e /scripts/libmakepkg/util/option.sh.in
parent6911904a033c1494f32f438f2d5cac2dc5b1ee19 (diff)
downloadpacman-583f3122ce3b98c384165d47c126aaa5c98ea392.tar.gz
pacman-583f3122ce3b98c384165d47c126aaa5c98ea392.tar.xz
meson: fix build of executables with nonstandard libarchive path
The libarchive header is used in alpm.h, and several binaries include this header. This is noticeably a problem when using e.g. the musl-gcc compiler which does not include /usr/include by default, and thus the build system reports: ...../lib/libalpm/alpm.h:35:10: fatal error: archive.h: No such file or directory More commonly, this will result in compiling against potentially the wrong headers, if the libarchive installation picked up by pkg-config is different from the one with headers in /usr/include, and /usr/include is in the -isystem path. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/libmakepkg/util/option.sh.in')
0 files changed, 0 insertions, 0 deletions