Use or1k-darwin host SHARED_LIBADD for *-darwin.
* configure.ac (SHARED_LIBADD): Add -liberty -lintl for all Darwin hosts, not just or1k. * configure: Regenerate.
This commit is contained in:
parent
7d272a55ca
commit
edd01d077c
@ -1,3 +1,9 @@
|
||||
2019-02-20 Michael Roitzsch <reactorcontrol@icloud.com>
|
||||
|
||||
* configure.ac (SHARED_LIBADD): Add -liberty -lintl for all
|
||||
Darwin hosts, not just or1k.
|
||||
* configure: Regenerate.
|
||||
|
||||
2019-02-20 Alan Modra <amodra@gmail.com>
|
||||
|
||||
PR 24236
|
||||
|
6
bfd/configure
vendored
6
bfd/configure
vendored
@ -14528,15 +14528,15 @@ if test "$enable_shared" = "yes"; then
|
||||
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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user