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: https://git.librecmc.org/?a=commitdiff_plain;h=25630dd5a56e3899a60247a7f63d490135d7dba0;p=librecmc%2Flibrecmc.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