From bf7dc6ecbc25bbb4451523ef8f19cd51cd0a0140 Mon Sep 17 00:00:00 2001 From: nico Date: Mon, 3 Sep 2007 05:00:38 +0000 Subject: use $(TARGET_CPPFLAGS) & $(TARGET_LDFLAGS) instead of full -I... & -L... git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8578 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/openssl/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/openssl') diff --git a/package/openssl/Makefile b/package/openssl/Makefile index c1e2d9ac8..015404d90 100644 --- a/package/openssl/Makefile +++ b/package/openssl/Makefile @@ -69,8 +69,8 @@ define Build/Configure ./Configure linux-openwrt \ --prefix=/usr \ --openssldir=/etc/ssl \ - -I$(STAGING_DIR)/usr/include \ - -L$(STAGING_DIR)/usr/lib -ldl \ + $(TARGET_CPPFLAGS) \ + $(TARGET_LDFLAGS) -ldl \ -DOPENSSL_SMALL_FOOTPRINT \ $(OPENSSL_NO_CIPHERS) \ $(OPENSSL_OPTIONS) \ -- cgit v1.2.3