diff options
author | Michael Roitzsch <reactorcontrol@icloud.com> | 2019-02-20 14:47:40 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-02-20 14:49:07 +1030 |
commit | edd01d077c5f7a0f76ec4fb77b5b9f5b151fa50a (patch) | |
tree | 0b5344ede1e56fc8b4815255ca7c1b8a300daf57 /bfd/configure.ac | |
parent | 7d272a55caebfc26ab2e15d1e9439bac978b9bb7 (diff) | |
download | gdb-edd01d077c5f7a0f76ec4fb77b5b9f5b151fa50a.zip gdb-edd01d077c5f7a0f76ec4fb77b5b9f5b151fa50a.tar.gz gdb-edd01d077c5f7a0f76ec4fb77b5b9f5b151fa50a.tar.bz2 |
Use or1k-darwin host SHARED_LIBADD for *-darwin.
* configure.ac (SHARED_LIBADD): Add -liberty -lintl for all
Darwin hosts, not just or1k.
* configure: Regenerate.
Diffstat (limited to 'bfd/configure.ac')
-rw-r--r-- | bfd/configure.ac | 6 |
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 |