libtool-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Libtool branch, master, updated. v2.4.2-409-g12641bd


From: Brooks Moses
Subject: [SCM] GNU Libtool branch, master, updated. v2.4.2-409-g12641bd
Date: Thu, 10 Oct 2013 00:46:20 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Libtool".

The branch, master has been updated
       via  12641bdc45d091fd1e014d242dcf271237f3c95c (commit)
      from  1c89ed8e1cdbee5bf2a56627bf02ebdd427dc2e3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 12641bdc45d091fd1e014d242dcf271237f3c95c
Author: Vadim Zeitlin <address@hidden>
Date:   Wed Oct 9 17:35:13 2013 -0700

    libtool: Don't fall back to static libraries if building them was disabled
    
    If -no-undefined was not specified but the platform didn't
    support shared libraries with undefined symbols (e.g. Cygwin/
    MinGW), static libraries were built instead of shared ones,
    even if building them was explicitly disabled with --disable-
    static configure option.
    
    Fix this by stopping with a fatal error if a shared library
    can't be built in this case instead of unexpectedly building a
    static library instead.
    
    * libltdl/config/ltmain.m4sh (func_mode_link()): Stop with
    fatal error when trying to build a shared library without -no-
    undefined on a platform not supporting undefined symbols in
    shared libraries.
    
    Copyright-paperwork-exempt: Yes

-----------------------------------------------------------------------

Summary of changes:
 build-aux/ltmain.in |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in
index 363ce9b..58b443c 100644
--- a/build-aux/ltmain.in
+++ b/build-aux/ltmain.in
@@ -6984,9 +6984,12 @@ func_mode_link ()
        # Check to see if the archive will have undefined symbols.
        if test yes = "$allow_undefined"; then
          if test unsupported = "$allow_undefined_flag"; then
-           func_warning "undefined symbols not allowed in $host shared 
libraries"
-           build_libtool_libs=no
-           build_old_libs=yes
+           if test "$build_old_libs" = yes; then
+             func_warning "undefined symbols not allowed in $host shared 
libraries; building static only"
+             build_libtool_libs=no
+           else
+             func_fatal_error "can't build $host shared library unless 
-no-undefined is specified"
+           fi
          fi
        else
          # Don't allow undefined symbols.


hooks/post-receive
-- 
GNU Libtool



reply via email to

[Prev in Thread] Current Thread [Next in Thread]