commit:     8bb9e5e7607ff12f8119729077d3d420e999f7ee
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 19 11:27:09 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jul 19 11:27:09 2018 +0000
URL:        https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=8bb9e5e7

libsandbox: Remove meaningless/broken -nodefaultlibs

Remove '-nodefaultlibs' from linking flags for libsandbox as it is
apparently meaningless and broken at the same time.  When regular
libtool is used, it silently strips the option, making it meaningless.
When slibtool is used instead, it passes the option which causes linking
to fail due to undefined symbols.

Thanks to the bug reporter and slibtool devs from researching
the problem in detail.

Bug: https://bugs.gentoo.org/657184

 libsandbox/Makefile.am | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libsandbox/Makefile.am b/libsandbox/Makefile.am
index cbc73ba..ac9a548 100644
--- a/libsandbox/Makefile.am
+++ b/libsandbox/Makefile.am
@@ -20,7 +20,6 @@ libsandbox_la_LIBADD = \
 # and destructor will not be executed ...
 libsandbox_la_LDFLAGS = \
        -no-undefined \
-       -nodefaultlibs \
        -avoid-version \
        $(LDFLAG_VER),libsandbox.map
 libsandbox_la_SOURCES = \

Reply via email to