X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ce8c542b267b5decd557da4e29a8feb59d5d613c..51a5baf372da720fd536f7e6593f3f25130baca4:/openwrt/package/libpng/Makefile diff --git a/openwrt/package/libpng/Makefile b/openwrt/package/libpng/Makefile index 8033d42c4..2c6aebba0 100644 --- a/openwrt/package/libpng/Makefile +++ b/openwrt/package/libpng/Makefile @@ -74,6 +74,7 @@ $(STAGING_DIR)/usr/lib/libpng.so: $(PKG_BUILD_DIR)/.built $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpng{,12}.{a,so*} $(STAGING_DIR)/usr/lib/ mkdir -p $(STAGING_DIR)/usr/lib/pkgconfig $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libpng{,12}.pc $(STAGING_DIR)/usr/lib/pkgconfig/ + $(SED) 's,-I$${includedir}/libpng12,,g' $(STAGING_DIR)/usr/lib/pkgconfig/libpng{,12}.pc $(SED) 's,^[ILR]_opts=".\+",,g' $(STAGING_DIR)/usr/bin/libpng*-config touch $@