Browse Source

configure: Don't add -ldl to RUST_LIBS for mingw32

pull/4/head
Jack Grigg 6 years ago
parent
commit
bce692390f
No known key found for this signature in database GPG Key ID: 1B8D649257DB0829
  1. 9
      configure.ac

9
configure.ac

@ -733,7 +733,14 @@ AC_CHECK_LIB([gmp],[[__gmpn_sub_n]],GMP_LIBS=-lgmp, [AC_MSG_ERROR(libgmp missing
AC_CHECK_HEADER([gmpxx.h],,AC_MSG_ERROR(libgmpxx headers missing))
AC_CHECK_LIB([gmpxx],[main],GMPXX_LIBS=-lgmpxx, [AC_MSG_ERROR(libgmpxx missing)])
RUST_LIBS="-lrustzcash -ldl"
RUST_LIBS="-lrustzcash"
case $host in
*mingw*)
;;
*)
RUST_LIBS="$RUST_LIBS -ldl"
;;
esac
dnl Check for OpenMP support
AX_OPENMP(

Loading…
Cancel
Save