summaryrefslogtreecommitdiff
path: root/infrastructure/mingw/configure.sh
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-11-29 22:42:37 +0000
commit13fb014af2d0f34fdf20ca07341b76e90f3c9c4f (patch)
tree1659dc84c63d60ca80bc193ac46d0e390212e107 /infrastructure/mingw/configure.sh
parent7b7db9b68f0b001148706e9729e1215b0f6673fe (diff)
Pass the correct flags to the configure script to locate OpenSSL headers.
Diffstat (limited to 'infrastructure/mingw/configure.sh')
-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