[patch #9687] bugfix: make -export-dynamic imply --whole-archive

David Lamparter <[email protected]>
Newsgroups gmane.comp.gnu.libtool.patches
Message-ID <[email protected]>
URL:
  <http://savannah.gnu.org/patch/?9687>

                 Summary: bugfix: make -export-dynamic imply --whole-archive
                 Project: GNU Libtool
            Submitted by: equinox
            Submitted on: Tue 04 Sep 2018 01:56:34 PM CEST
                Category: None
                Priority: 6
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

libtool: -export-dynamic implies --whole-archive
    
The usage of -export-dynamic implies that the program is going to load DSOs
that need some of the program's symbols.  However, the linker will still drop
anything that it doesn't see a reference to when linking archives.  This then
breaks when the DSO tries to use something from an archive that the linker
didn't bother to include.
    
* build-aux/ltmain.in:  if -export-dynamic is given, put
  -Wl,--whole-archive around any archives we link in.
    
This changeset is placed in the public domain.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 04 Sep 2018 01:56:34 PM CEST  Name:
0001-libtool-export-dynamic-implies-whole-archive.patch  Size: 2KiB   By:
equinox

<http://savannah.gnu.org/patch/download.php?file_id=44931>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?9687>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.