summaryrefslogtreecommitdiff
path: root/libasm
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2020-11-30 08:00:00 +0000
committerMark Wielaard <mark@klomp.org>2020-12-06 12:47:24 +0100
commit2f02e81510946a4c8e9157ad0b72d92894b9acd7 (patch)
tree304ff8a064197ae3ad708451fd41b39d34b1f4e7 /libasm
parent609290a61d4f900c65b7e0e273981022a826e4c0 (diff)
downloadelfutils-2f02e81510946a4c8e9157ad0b72d92894b9acd7.tar.gz
Drop $(EXEEXT) suffix from shared libraries
According to GNU Automake documentation [1], $(EXEEXT) is the suffix that should be used for executables, it is not applicable for shared libraries. [1] https://www.gnu.org/software/automake/manual/html_node/EXEEXT.html Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Diffstat (limited to 'libasm')
-rw-r--r--libasm/ChangeLog4
-rw-r--r--libasm/Makefile.am2
2 files changed, 5 insertions, 1 deletions
diff --git a/libasm/ChangeLog b/libasm/ChangeLog
index d7ab8c42..29c23bad 100644
--- a/libasm/ChangeLog
+++ b/libasm/ChangeLog
@@ -1,3 +1,7 @@
+2020-11-30 Dmitry V. Levin <ldv@altlinux.org>
+
+ * Makefile.am (libasm.so$(EXEEXT)): Drop $(EXEEXT) suffix.
+
2020-10-29 Mark Wielaard <mark@klomp.org>
* asm_align.c (__libasm_ensure_section_space): Use calloc, not
diff --git a/libasm/Makefile.am b/libasm/Makefile.am
index b2bff929..4b55d530 100644
--- a/libasm/Makefile.am
+++ b/libasm/Makefile.am
@@ -63,7 +63,7 @@ endif
libasm_so_LIBS = libasm_pic.a
libasm_so_SOURCES =
-libasm.so$(EXEEXT): $(srcdir)/libasm.map $(libasm_so_LIBS) $(libasm_so_DEPS)
+libasm.so: $(srcdir)/libasm.map $(libasm_so_LIBS) $(libasm_so_DEPS)
$(AM_V_CCLD)$(LINK) $(dso_LDFLAGS) -o $@ \
-Wl,--soname,$@.$(VERSION) \
-Wl,--version-script,$<,--no-undefined \