summaryrefslogtreecommitdiffstats
path: root/src/gcc.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2014-01-31 03:57:12 (GMT)
committerTony Theodore <tonyt@logyst.com>2014-01-31 03:57:12 (GMT)
commit14b5bef5e2afaaf9c86e35c291d46ae3eb0b7d8d (patch)
tree8a89b465097fc24071ef231e809ac5432cad297c /src/gcc.mk
parent1bc3ef2f143ef24396e651eb9dae043e3ce22611 (diff)
downloadmxe-14b5bef5e2afaaf9c86e35c291d46ae3eb0b7d8d.zip
mxe-14b5bef5e2afaaf9c86e35c291d46ae3eb0b7d8d.tar.gz
mxe-14b5bef5e2afaaf9c86e35c291d46ae3eb0b7d8d.tar.bz2
package gcc: add qt5 to pkgconfig search path
Diffstat (limited to 'src/gcc.mk')
-rw-r--r--src/gcc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gcc.mk b/src/gcc.mk
index fb85cb9..e5f2166 100644
--- a/src/gcc.mk
+++ b/src/gcc.mk
@@ -54,7 +54,7 @@ endef
define $(PKG)_POST_BUILD
# create pkg-config script
(echo '#!/bin/sh'; \
- echo 'PKG_CONFIG_PATH="$$PKG_CONFIG_PATH_$(subst -,_,$(TARGET))" PKG_CONFIG_LIBDIR='\''$(PREFIX)/$(TARGET)/lib/pkgconfig'\'' exec pkg-config --static "$$@"') \
+ echo 'PKG_CONFIG_PATH="$(PREFIX)/$(TARGET)/qt5/lib/pkgconfig":"$$PKG_CONFIG_PATH_$(subst -,_,$(TARGET))" PKG_CONFIG_LIBDIR='\''$(PREFIX)/$(TARGET)/lib/pkgconfig'\'' exec pkg-config --static "$$@"') \
> '$(PREFIX)/bin/$(TARGET)-pkg-config'
chmod 0755 '$(PREFIX)/bin/$(TARGET)-pkg-config'