aboutsummaryrefslogtreecommitdiff
path: root/bfd/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/configure.ac')
-rw-r--r--bfd/configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/configure.ac b/bfd/configure.ac
index eda38ea..5f02c41 100644
--- a/bfd/configure.ac
+++ b/bfd/configure.ac
@@ -296,15 +296,15 @@ changequote([,])dnl
SHARED_LIBADD="-L`pwd`/../libiberty/pic -liberty"
fi
-# More hacks to build DLLs on Windows.
case "${host}" in
+ # More hacks to build DLLs on Windows.
*-*-cygwin*)
SHARED_LDFLAGS="-no-undefined"
SHARED_LIBADD="-L`pwd`/../libiberty -liberty -L`pwd`/../intl -lintl -lcygwin -lkernel32"
;;
- # Hack to build or1k-src on OSX
- or1k*-*-darwin*)
+ # Use built-in libintl on macOS, since it is not provided by libc.
+ *-*-darwin*)
SHARED_LIBADD="-L`pwd`/../libiberty/pic -L`pwd`/../intl -liberty -lintl"
;;
esac