aboutsummaryrefslogtreecommitdiff
path: root/external/unbound
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2014-10-06 22:29:07 +0200
committerRiccardo Spagni <ric@spagni.net>2014-10-06 22:29:07 +0200
commit2cf94c1321438eb66ffefca547b74f746d7c283a (patch)
tree46beed54555b1eef53ff8f2039592a18c46357ef /external/unbound
parentneed to link with -ldl on Linux when building statically (diff)
downloadmonero-2cf94c1321438eb66ffefca547b74f746d7c283a.tar.xz
fix for mingw not playing nicely with libunbound configure, fix for correctly finding static libs on various operating systems
Diffstat (limited to '')
-rwxr-xr-xexternal/unbound/monero-config.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/external/unbound/monero-config.sh b/external/unbound/monero-config.sh
new file mode 100755
index 000000000..cfdc7e04b
--- /dev/null
+++ b/external/unbound/monero-config.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+./configure --prefix=${CMAKE_FIND_ROOT_PATH} --build=${GCC_PREFIX} --host=${GCC_PREFIX} --disable-shared --enable-static --sysconfdir=${CMAKE_FIND_ROOT_PATH}/etc --localstatedir=${CMAKE_FIND_ROOT_PATH}/var --sbindir=${CMAKE_FIND_ROOT_PATH}/bin --disable-gost --disable-rpath --with-libevent=no --with-libexpat=${CMAKE_FIND_ROOT_PATH} --without-pyunbound --without-pythonmodule --with-ssl=${CMAKE_FIND_ROOT_PATH} --without-pthreads --with-libunbound-only