[PATCH 2 of 6] complibs: do not prompt for shared libs if static selected

Yann E. MORIN yann.morin.1998@anciens.enib.fr
Thu Dec 9 00:00:00 GMT 2010


# HG changeset patch
# User Bryan Hundven <bryanhundven@gmail.com>
# Date 1291589099 -3600
# Node ID 30612dd45f2c8896a33c4faa7128f0281a2ac47e
# Parent  9a8dc460d65a80a150957a6a66841c1547636e45
complibs: do not prompt for shared libs if static selected

If the global static toolchain option is selected, then do not
prompt the user whether to build shared companion libraries.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

diff --git a/config/companion_libs.in b/config/companion_libs.in
--- a/config/companion_libs.in
+++ b/config/companion_libs.in
@@ -141,6 +141,7 @@
     prompt "Build shared companion libraries"
     default n
     depends on COMPLIBS
+    depends on ! STATIC_TOOLCHAIN
     select WRAPPER_NEEDED
     help
       By default, the companion libraries will be build static. If you want to

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list