From 8bb9e5e7607ff12f8119729077d3d420e999f7ee Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Thu, 19 Jul 2018 13:27:09 +0200 Subject: 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 = \ -- cgit v1.2.3-18-g5258