diff options
Diffstat (limited to 'package/imlib2/imlib2.mk')
-rw-r--r-- | package/imlib2/imlib2.mk | 4 |
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 |