projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a6f270
)
imlib2: fix imlib2-config
author
Stefan Fröberg
<stefan.froberg@petroprogram.com>
Thu, 3 Jan 2013 12:09:02 +0000
(12:09 +0000)
committer
Peter Korsgaard
<jacmet@sunsite.dk>
Fri, 4 Jan 2013 21:31:48 +0000
(22:31 +0100)
[Peter: use a single sed invocation]
Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/imlib2/imlib2.mk
patch
|
blob
|
history
diff --git
a/package/imlib2/imlib2.mk
b/package/imlib2/imlib2.mk
index fa0f57803a8a41ca75762231ada947877c3e256d..c7029aeb6fd2e0dd4c33ffe1a0c267c796cfa205 100644
(file)
--- 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