From: Stefan Fröberg Date: Thu, 3 Jan 2013 12:09:02 +0000 (+0000) Subject: imlib2: fix imlib2-config X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6ba5ac89f890b1dd515fc906bbd82cfdc373e5a2;p=buildroot.git imlib2: fix imlib2-config [Peter: use a single sed invocation] Signed-off-by: Stefan Fröberg Signed-off-by: Peter Korsgaard --- diff --git a/package/imlib2/imlib2.mk b/package/imlib2/imlib2.mk index fa0f57803a..c7029aeb6f 100644 --- a/package/imlib2/imlib2.mk +++ b/package/imlib2/imlib2.mk @@ -57,7 +57,9 @@ endif # drop -L 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