From 6ba5ac89f890b1dd515fc906bbd82cfdc373e5a2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stefan=20Fr=C3=B6berg?= Date: Thu, 3 Jan 2013 12:09:02 +0000 Subject: [PATCH] imlib2: fix imlib2-config MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit [Peter: use a single sed invocation] Signed-off-by: Stefan Fröberg Signed-off-by: Peter Korsgaard --- package/imlib2/imlib2.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.30.2