From 2ec52b29b60e09933aea6609e58f6b98b74fe742 Mon Sep 17 00:00:00 2001 From: jow Date: Wed, 18 Jan 2012 03:54:09 +0000 Subject: [package] openssl: don't fail with empty TARGET_LDFLAGS git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29770 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/openssl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package') 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 -- cgit v1.2.3