aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/freetype/freetype.mk2
-rw-r--r--package/libpng/libpng.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/freetype/freetype.mk b/package/freetype/freetype.mk
index c6b8eacf4..446532980 100644
--- a/package/freetype/freetype.mk
+++ b/package/freetype/freetype.mk
@@ -52,7 +52,7 @@ $(STAGING_DIR)/lib/libfreetype.so: $(FREETYPE_DIR)/.compiled
$(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)\',g" \
-e "s,^exec_prefix=.*,exec_prefix=\'$(STAGING_DIR)/usr\',g" \
-e "s,^includedir=.*,includedir=\'$(STAGING_DIR)/include\',g" \
- "s,^libdir=.*,libdir=\'$(STAGING_DIR)/lib\',g" \
+ -e "s,^libdir=.*,libdir=\'$(STAGING_DIR)/lib\',g" \
$(STAGING_DIR)/usr/bin/freetype-config
touch -c $(STAGING_DIR)/lib/libfreetype.so
diff --git a/package/libpng/libpng.mk b/package/libpng/libpng.mk
index 88f19dfa7..3dbbac116 100644
--- a/package/libpng/libpng.mk
+++ b/package/libpng/libpng.mk
@@ -77,7 +77,7 @@ $(STAGING_DIR)/lib/libpng.so: $(LIBPNG_DIR)/.compiled
$(SED) "s,^prefix=.*,prefix=\'$(STAGING_DIR)\',g" \
-e "s,^exec_prefix=.*,exec_prefix=\'$(STAGING_DIR)/usr\',g" \
-e "s,^includedir=.*,includedir=\'$(STAGING_DIR)/include/libpng12\',g" \
- "s,^libdir=.*,libdir=\'$(STAGING_DIR)/lib\',g" \
+ -e "s,^libdir=.*,libdir=\'$(STAGING_DIR)/lib\',g" \
$(STAGING_DIR)/usr/bin/libpng12-config
touch -c $(STAGING_DIR)/lib/libpng.so