summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamie Lenehan <lenehan@twibble.org>2007-06-02 01:29:34 +0000
committerJamie Lenehan <lenehan@twibble.org>2007-06-02 01:29:34 +0000
commit4e77b23d9562625103d354ac324539d61c6bad26 (patch)
treebb1819d63a2db0c6986fd9056fb37f6d31ad51f8
parent4a67f352fb1d9475a913ecd31457c301cc11ea37 (diff)
openssl: Allow openssl to build when using an external toolchain. Closes #2402.
-rw-r--r--packages/openssl/openssl.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/openssl/openssl.inc b/packages/openssl/openssl.inc
index 9c648f0ba8..25388b5fbb 100644
--- a/packages/openssl/openssl.inc
+++ b/packages/openssl/openssl.inc
@@ -14,7 +14,7 @@ export CFLAG_mtx-1 := "${@'${CFLAG}'.replace('-O2', '')}"
export CFLAG_mtx-2 := "${@'${CFLAG}'.replace('-O2', '')}"
export DIRS = "crypto ssl apps"
-export EX_LIBS = "-lgcc -ldl -L${STAGING_LIBDIR}"
+export EX_LIBS = "-lgcc -ldl ${TARGET_LDFLAGS}"
export AS = "${CC} -c"
PACKAGES =+ "libcrypto libssl"