This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=7c49fd84e8eabcfdb50d95b6f2924368dba48e66

commit 7c49fd84e8eabcfdb50d95b6f2924368dba48e66
Author: Guillem Jover <[email protected]>
AuthorDate: Fri Apr 28 23:19:40 2023 +0200

    build: Add -no-undefined libtool flag
    
    We have no need for undefined symbols, so we can let the shared
    library build even on systems without support for undefined symbols.
---
 lib/dpkg/Makefile.am | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/dpkg/Makefile.am b/lib/dpkg/Makefile.am
index 8d818adac..3403338ce 100644
--- a/lib/dpkg/Makefile.am
+++ b/lib/dpkg/Makefile.am
@@ -35,7 +35,9 @@ EXTRA_libdpkg_la_DEPENDENCIES = \
        libdpkg.map \
        # EOL
 
-libdpkg_la_LDFLAGS =
+libdpkg_la_LDFLAGS = \
+       -no-undefined \
+       # EOL
 if HAVE_LINKER_VERSION_SCRIPT
 libdpkg_la_LDFLAGS += \
        -Wl,--version-script=$(srcdir)/libdpkg.map \

-- 
Dpkg.Org's dpkg

Reply via email to