projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
merge from gcc
[binutils-gdb.git]
/
libiberty
/
configure.ac
diff --git
a/libiberty/configure.ac
b/libiberty/configure.ac
index fcea46f6c7bbe7ec631421ecdbf663742a20e42d..4ad88a984d7c28ddce3842f0da934b591e19a2f1 100644
(file)
--- a/
libiberty/configure.ac
+++ b/
libiberty/configure.ac
@@
-225,6
+225,12
@@
case "${enable_shared}" in
"") shared=no ;;
*) shared=yes ;;
esac
+
+# ...unless --enable-host-shared was passed from top-level config:
+if [[ "${enable_host_shared}" = "yes" ]]; then
+ shared=yes
+fi
+
if [[ "${shared}" != "yes" ]]; then
PICFLAG=
fi