summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2015-11-29 22:42:37 +0000
committerChris Wilson <chris+github@qwirx.com>2015-12-13 23:48:29 +0000
commitc23517a9d88ba58f22eba4f685e8e680c63b352f (patch)
treec8569ceff09667d35fdfce176c1e96fc89061a3d
parent507588f7f9ee684958f088182fd20ac673ddc643 (diff)
Pass the correct flags to the configure script to locate OpenSSL headers.
-rwxr-xr-xinfrastructure/mingw/configure.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/infrastructure/mingw/configure.sh b/infrastructure/mingw/configure.sh
index 0242ea74..cfc27f35 100755
--- a/infrastructure/mingw/configure.sh
+++ b/infrastructure/mingw/configure.sh
@@ -31,9 +31,11 @@ if [ ! -x "configure" ]; then
fi
if ! ./configure "$@" --host=$target \
+ --with-ssl-headers="${DEP_PATH}/include" \
+ --with-ssl-lib="${DEP_PATH}/lib" \
CFLAGS="-mthreads" \
CXXFLAGS="-mthreads" \
- LDFLAGS="-Wl,-Bstatic -mthreads -L${DEP_PATH}/lib -L${LIBZ_PATH}"
+ LDFLAGS="-Wl,-Bstatic -mthreads -L${LIBZ_PATH}"
then
echo "Error: configure failed, aborting." >&2
exit 1