aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-03-17 01:22:06 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-03-17 01:22:06 -0400
commita6776992195e0a8ca9590e81ab0438edc65aea1e (patch)
treeb0add8a244a8a9f105c4bf2be696369ad56f605f
parent5f1efa386ef5e2e7251fdd9bef8ad23a246f0099 (diff)
downloadspmc-a6776992195e0a8ca9590e81ab0438edc65aea1e.tar.gz
Ensure pkgconf (not pkg-config) returns necessary information for CFLAGS and LDFLAGS
-rwxr-xr-xscripts/spmbuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/spmbuild b/scripts/spmbuild
index e2cb8ca..1af9641 100755
--- a/scripts/spmbuild
+++ b/scripts/spmbuild
@@ -155,6 +155,8 @@ function spm_build_initialize_stage2() {
source <(spm_build_mkruntime "${SPM_BUILD_RUNTIME}")
export LD_LIBRARY_PATH="${SPM_BUILD_RUNTIME}/lib:${SPM_BUILD_RUNTIME}/lib64"
export LD_RUN_PATH="${LD_LIBRARY_PATH}"
+ export PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1
+ export PKG_CONFIG_ALLOW_SYSTEM_LIBS=1
}
function spm_build_cleanup() {