Skip to content
Browse files

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>
  • Loading branch information...
1 parent 5a6f270 commit 6ba5ac89f890b1dd515fc906bbd82cfdc373e5a2 @sfroberg sfroberg committed with Peter Korsgaard
Showing with 3 additions and 1 deletion.
  1. +3 −1 package/imlib2/imlib2.mk
View
4 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

0 comments on commit 6ba5ac8

Please sign in to comment.
Something went wrong with that request. Please try again.