[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Gavin D. Smith |
Date: |
Tue, 21 Nov 2023 14:34:57 -0500 (EST) |
branch: master
commit 0b7a93d307daa639e9c5cc56bfbe41c0d2c5e96e
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Tue Nov 21 18:49:24 2023 +0000
XS build flags
* tp/Texinfo/XS/Makefile.am (XSLIBS_LDFLAGS): Add a comment
stating that -avoid-version and -module are recognised by libtool
to make it clear where to look for documentation on these options.
No functional changes intended.
---
ChangeLog | 9 +++++++++
tp/Texinfo/XS/Makefile.am | 6 +++++-
2 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 1158d3446b..df31bf8bac 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2023-11-21 Gavin Smith <gavinsmith0123@gmail.com>
+
+ XS build flags
+
+ * tp/Texinfo/XS/Makefile.am (XSLIBS_LDFLAGS): Add a comment
+ stating that -avoid-version and -module are recognised by libtool
+ to make it clear where to look for documentation on these options.
+ No functional changes intended.
+
2023-11-20 Patrice Dumas <pertusus@free.fr>
HTML css functions API change, split information and selector rules
diff --git a/tp/Texinfo/XS/Makefile.am b/tp/Texinfo/XS/Makefile.am
index 92379f3181..8ed9522123 100644
--- a/tp/Texinfo/XS/Makefile.am
+++ b/tp/Texinfo/XS/Makefile.am
@@ -51,6 +51,11 @@ XSLIBS_CPPFLAGS += -I$(PERL_INC)
XSLIBS_CFLAGS = $(perl_conf_CFLAGS)
+# Flags specially recognized by libtool
+XSLIBS_LDFLAGS = -avoid-version -module
+
+XSLIBS_LDFLAGS += $(perl_conf_LDFLAGS)
+
if HOST_NEEDS_NO_UNDEFINED
PLATFORM_LDFLAGS = -no-undefined -L$(PERL_INC) $(PERL_CONF_libperl)
# The -no-undefined flag is for MS-Windows. See info node
@@ -60,7 +65,6 @@ else
PLATFORM_LDFLAGS =
endif
-XSLIBS_LDFLAGS = -avoid-version -module $(perl_conf_LDFLAGS)
XSLIBS_LDFLAGS += $(PLATFORM_LDFLAGS)