X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/bcc888bd0c58f2a116a9499d90458d20f90cca66..85aaffee6587d6189e1eb011a54b5ca557590e46:/package/openssl/Makefile diff --git a/package/openssl/Makefile b/package/openssl/Makefile index 2937368b1..dce755053 100644 --- a/package/openssl/Makefile +++ b/package/openssl/Makefile @@ -89,6 +89,8 @@ define Build/Configure ) endef +TARGET_CFLAGS += $(FPIC) + define Build/Compile rm -rf $(PKG_INSTALL_DIR) mkdir -p $(PKG_INSTALL_DIR) @@ -120,7 +122,7 @@ define Build/InstallDev $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{crypto,ssl}.{a,so*} $(1)/usr/lib/ mkdir -p $(1)/usr/lib/pkgconfig $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/{openssl,libcrypto,libssl}.pc $(1)/usr/lib/pkgconfig/ - $(SED) 's,$(TARGET_LDFLAGS),,g' $(1)/usr/lib/pkgconfig/{openssl,libcrypto,libssl}.pc + $(SED) 's#$(TARGET_LDFLAGS)##g' $(1)/usr/lib/pkgconfig/{openssl,libcrypto,libssl}.pc endef define Package/libopenssl/install