summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-08 12:58:44 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-08 12:58:44 +0100
commitd77656116191a166ed0477cf16830480a2406fc5 (patch)
tree31824cef5d3c5f09580451c637a243224d61ae23
parented95e17c2e88caff425eca534a794ea0c489fc5c (diff)
fix prefix
-rw-r--r--mk/pkg-bottom.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/pkg-bottom.mk b/mk/pkg-bottom.mk
index 0358c0382..95ee31593 100644
--- a/mk/pkg-bottom.mk
+++ b/mk/pkg-bottom.mk
@@ -151,7 +151,8 @@ endif
done
@for a in ${WRKINST}/usr/lib/pkgconfig/*.pc; do \
[[ -e $$a ]] || continue; \
- sed -e "s,^prefix=.*,prefix=${STAGING_TARGET_DIR}/usr," $$a > \
+ sed -e "s,^prefix=.*,prefix=${STAGING_TARGET_DIR}/usr," \
+ -e "s,^prefix = .*,prefix = ${STAGING_TARGET_DIR}/usr," $$a > \
${STAGING_DIR}/usr/lib/pkgconfig/$$(basename $$a); \
done
ifeq (,$(filter noremove,${PKG_OPTS}))