aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 3cfd9b4..2cff32e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3440,6 +3440,17 @@ case "${target}" in
mep*)
FLAGS_FOR_TARGET="$FLAGS_FOR_TARGET -mlibrary"
;;
+ # The VxWorks support for shared libraries is getting in
+ # incrementally. Make sure it doesn't get activated implicitly:
+ *vxworks*)
+ if test "${enable_shared-unset}" = unset ; then
+ enable_shared=no
+ # So the build of libraries knows ...
+ target_configargs="${target_configargs} --disable-shared"
+ # So gcc knows ...
+ host_configargs="${host_configargs} --disable-shared"
+ fi
+ ;;
esac
# Makefile fragments.