From: Jo-Philipp Wich Date: Wed, 18 Jan 2012 03:54:09 +0000 (+0000) Subject: openssl: don't fail with empty TARGET_LDFLAGS X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=25630dd5a56e3899a60247a7f63d490135d7dba0;p=openwrt%2Fstaging%2Fstintel.git openssl: don't fail with empty TARGET_LDFLAGS SVN-Revision: 29770 --- diff --git a/package/openssl/Makefile b/package/openssl/Makefile index cc253d686d..48e8a427f6 100644 --- a/package/openssl/Makefile +++ b/package/openssl/Makefile @@ -142,7 +142,7 @@ define Build/InstallDev $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{crypto,ssl}.{a,so*} $(1)/usr/lib/ $(INSTALL_DIR) $(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 + $(if $(TARGET_LDFLAGS),$(SED) 's#$(TARGET_LDFLAGS)##g' $(1)/usr/lib/pkgconfig/{openssl,libcrypto,libssl}.pc) endef define Package/libopenssl/install