From 25630dd5a56e3899a60247a7f63d490135d7dba0 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 18 Jan 2012 03:54:09 +0000 Subject: [PATCH] openssl: don't fail with empty TARGET_LDFLAGS SVN-Revision: 29770 --- package/openssl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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