diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 92ca41e4..e3b1b454 100644 --- a/configure.ac +++ b/configure.ac @@ -109,7 +109,11 @@ AC_SUBST(CURL_CFLAGS) AC_SUBST(CURL_LIBS) case "$(uname -s)" in - Linux | FreeBSD) + Linux) + LIBS="$LIBS -lcrypt" + CPPFLAGS="-D_XOPEN_SOURCE $CPPFLAGS" + ;; + FreeBSD) LIBS="$LIBS -lcrypt" ;; OpenBSD) |