diff options
author | Tony Theodore <tonyt@logyst.com> | 2017-06-15 11:33:55 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2017-06-15 11:33:55 (GMT) |
commit | b2c66b31913cb6d01243795806954d6701e5c6b4 (patch) | |
tree | 9faca3b8e2c0f5fe47fb36bddbb552603575be91 | |
parent | b35da9dd13f42a21190262ace1574c3a81f48bec (diff) | |
download | mxe-b2c66b31913cb6d01243795806954d6701e5c6b4.zip mxe-b2c66b31913cb6d01243795806954d6701e5c6b4.tar.gz mxe-b2c66b31913cb6d01243795806954d6701e5c6b4.tar.bz2 |
pkgconf: use PKG_CONFIG_SYSTEM_INCLUDE_PATH in wrapper
-rw-r--r-- | src/pkgconf.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pkgconf.mk b/src/pkgconf.mk index 49f363a..2bdab5f 100644 --- a/src/pkgconf.mk +++ b/src/pkgconf.mk @@ -21,7 +21,10 @@ endef define $(PKG)_BUILD # create pkg-config script (echo '#!/bin/sh'; \ - echo 'PKG_CONFIG_PATH="$(PREFIX)/$(TARGET)/qt5/lib/pkgconfig":"$$PKG_CONFIG_PATH_$(subst .,_,$(subst -,_,$(TARGET)))" PKG_CONFIG_LIBDIR='\''$(PREFIX)/$(TARGET)/lib/pkgconfig'\'' exec '$(PREFIX)/$(BUILD)/bin/pkgconf' $(if $(BUILD_STATIC),--static) "$$@"') \ + echo 'PKG_CONFIG_PATH="$(PREFIX)/$(TARGET)/qt5/lib/pkgconfig":"$$PKG_CONFIG_PATH_$(subst .,_,$(subst -,_,$(TARGET)))" \ + PKG_CONFIG_LIBDIR="$(PREFIX)/$(TARGET)/lib/pkgconfig" \ + PKG_CONFIG_SYSTEM_INCLUDE_PATH="$(PREFIX)/$(TARGET)/include" \ + exec "$(PREFIX)/$(BUILD)/bin/pkgconf" $(if $(BUILD_STATIC),--static) "$$@"') \ > '$(PREFIX)/bin/$(TARGET)-pkg-config' chmod 0755 '$(PREFIX)/bin/$(TARGET)-pkg-config' |