summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorStefan Fröberg <stefan.froberg@petroprogram.com>2013-01-03 12:09:02 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-01-04 22:31:48 +0100
commit6ba5ac89f890b1dd515fc906bbd82cfdc373e5a2 (patch)
treeeabf1bf5420c6c9c1f52738504cd5012773996c8 /package
parent5a6f270344f7c6e857702bbd5591a62f59f12b2a (diff)
downloadbuildroot-novena-6ba5ac89f890b1dd515fc906bbd82cfdc373e5a2.tar.gz
buildroot-novena-6ba5ac89f890b1dd515fc906bbd82cfdc373e5a2.zip
imlib2: fix imlib2-config
[Peter: use a single sed invocation] Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/imlib2/imlib2.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/imlib2/imlib2.mk b/package/imlib2/imlib2.mk
index fa0f57803..c7029aeb6 100644
--- a/package/imlib2/imlib2.mk
+++ b/package/imlib2/imlib2.mk
@@ -57,7 +57,9 @@ endif
# drop -L<dir> from linker flags
define IMLIB2_FIXUP_IMLIB2_CONFIG
- $(SED) 's/-L[^ ]*//g' \
+ $(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)/usr\',g" \
+ -e "s,^exec_prefix=.*,exec_prefix=\'$(STAGING_DIR)/usr\',g" \
+ -e 's/-L[^ ]*//g' \
$(STAGING_DIR)/usr/bin/imlib2-config
endef