mirror of https://github.com/aria2/aria2
Fix static builds on darwin
parent
2c566ccb68
commit
3096601ffe
11
configure.ac
11
configure.ac
|
@ -963,9 +963,14 @@ if test "x$ARIA2_STATIC" = "xyes"; then
|
||||||
# libtool.
|
# libtool.
|
||||||
LDFLAGS="$LDFLAGS -all-static"
|
LDFLAGS="$LDFLAGS -all-static"
|
||||||
dnl For non-MinGW build, we need additional libs for static build.
|
dnl For non-MinGW build, we need additional libs for static build.
|
||||||
if test "x$win_build" != "xyes"; then
|
case "$host" in
|
||||||
LIBS="$LIBS -lpthread -ldl -lrt"
|
*mingw*|*msvc*|*darwin*)
|
||||||
fi
|
;;
|
||||||
|
|
||||||
|
*)
|
||||||
|
LIBS="$LIBS -lpthread -ldl -lrt"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "x$win_build" = "xyes" && test "x$enable_libaria2" = "xyes"; then
|
if test "x$win_build" = "xyes" && test "x$enable_libaria2" = "xyes"; then
|
||||||
|
|
Loading…
Reference in New Issue