From aaec6f5926b37c3655709e779b95ba6a4a1cc684 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Fri, 10 May 2024 18:51:45 +0100 Subject: [PATCH] Makefile: Don't try to use -export-symbols if --version-script= isn't available libtool seems to mess up our symbol table by prepending an underscore character to all lines which renders the file unparsable. Signed-off-by: Michael Tremer --- Makefile.am | 2 -- 1 file changed, 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index 10cf033..33502fb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -145,8 +145,6 @@ src_libloc_la_LDFLAGS = \ if HAVE_LD_VERSION_SCRIPT src_libloc_la_LDFLAGS += -Wl,--version-script=$(top_srcdir)/src/libloc.sym -else -src_libloc_la_LDFLAGS += -export-symbols $(top_srcdir)/src/libloc.sym endif src_libloc_la_LIBADD = \ -- 2.47.3