From: Dmitry V. Levin Date: Mon, 30 Nov 2020 08:00:00 +0000 (+0000) Subject: Drop $(EXEEXT) suffix from shared libraries X-Git-Tag: elfutils-0.183~69 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2f02e81510946a4c8e9157ad0b72d92894b9acd7;p=thirdparty%2Felfutils.git 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 --- diff --git a/debuginfod/ChangeLog b/debuginfod/ChangeLog index aaffac7c0..3039371f0 100644 --- a/debuginfod/ChangeLog +++ b/debuginfod/ChangeLog @@ -1,3 +1,7 @@ +2020-11-30 Dmitry V. Levin + + * Makefile.am (libdebuginfod.so$(EXEEXT)): Drop $(EXEEXT) suffix. + 2020-11-25 Frank Ch. Eigler * debuginfod.cxx (step_ok_done): Correct typo in prom metric label. diff --git a/debuginfod/Makefile.am b/debuginfod/Makefile.am index 0af3b58c4..352b49156 100644 --- a/debuginfod/Makefile.am +++ b/debuginfod/Makefile.am @@ -100,7 +100,7 @@ libdebuginfod_so_LDLIBS = else libdebuginfod_so_LDLIBS = $(libcurl_LIBS) $(fts_LIBS) endif -libdebuginfod.so$(EXEEXT): $(srcdir)/libdebuginfod.map $(libdebuginfod_so_LIBS) +libdebuginfod.so: $(srcdir)/libdebuginfod.map $(libdebuginfod_so_LIBS) $(AM_V_CCLD)$(LINK) $(dso_LDFLAGS) -o $@ \ -Wl,--soname,$@.$(VERSION) \ -Wl,--version-script,$<,--no-undefined \ diff --git a/libasm/ChangeLog b/libasm/ChangeLog index d7ab8c428..29c23badb 100644 --- a/libasm/ChangeLog +++ b/libasm/ChangeLog @@ -1,3 +1,7 @@ +2020-11-30 Dmitry V. Levin + + * Makefile.am (libasm.so$(EXEEXT)): Drop $(EXEEXT) suffix. + 2020-10-29 Mark Wielaard * asm_align.c (__libasm_ensure_section_space): Use calloc, not diff --git a/libasm/Makefile.am b/libasm/Makefile.am index b2bff9292..4b55d5300 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 \ diff --git a/libdw/ChangeLog b/libdw/ChangeLog index 6f8ebea69..fbe2abc01 100644 --- a/libdw/ChangeLog +++ b/libdw/ChangeLog @@ -1,3 +1,7 @@ +2020-11-30 Dmitry V. Levin + + * Makefile.am (libdw.so$(EXEEXT)): Drop $(EXEEXT) suffix. + 2020-11-01 Érico N. Rolim * Makefile.am (libdw_so_LDLIBS): Add fts_LIBS. diff --git a/libdw/Makefile.am b/libdw/Makefile.am index 1dbb3d5ed..f21ee6ae4 100644 --- a/libdw/Makefile.am +++ b/libdw/Makefile.am @@ -111,7 +111,7 @@ libdw_so_LIBS = ../libebl/libebl_pic.a ../backends/libebl_backends_pic.a \ libdw_so_DEPS = ../lib/libeu.a ../libelf/libelf.so libdw_so_LDLIBS = $(libdw_so_DEPS) -ldl -lz $(argp_LDADD) $(fts_LIBS) $(obstack_LIBS) $(zip_LIBS) -pthread libdw_so_SOURCES = -libdw.so$(EXEEXT): $(srcdir)/libdw.map $(libdw_so_LIBS) $(libdw_so_DEPS) +libdw.so: $(srcdir)/libdw.map $(libdw_so_LIBS) $(libdw_so_DEPS) $(AM_V_CCLD)$(LINK) $(dso_LDFLAGS) -o $@ \ -Wl,--soname,$@.$(VERSION),--enable-new-dtags \ -Wl,--version-script,$<,--no-undefined \ diff --git a/libelf/ChangeLog b/libelf/ChangeLog index d685872dc..0a9e36a29 100644 --- a/libelf/ChangeLog +++ b/libelf/ChangeLog @@ -1,3 +1,7 @@ +2020-11-30 Dmitry V. Levin + + * Makefile.am (libelf.so$(EXEEXT)): Drop $(EXEEXT) suffix. + 2020-11-06 Mark Wielaard * elf-knowledge.h (SH_ENTSIZE_HASH): Update comment. diff --git a/libelf/Makefile.am b/libelf/Makefile.am index d5d63f733..f8f2afeb0 100644 --- a/libelf/Makefile.am +++ b/libelf/Makefile.am @@ -113,7 +113,7 @@ endif libelf_so_LIBS = libelf_pic.a libelf_so_SOURCES = -libelf.so$(EXEEXT): $(srcdir)/libelf.map $(libelf_so_LIBS) $(libelf_so_DEPS) +libelf.so: $(srcdir)/libelf.map $(libelf_so_LIBS) $(libelf_so_DEPS) $(AM_V_CCLD)$(LINK) $(dso_LDFLAGS) -o $@ \ -Wl,--soname,$@.$(VERSION) \ -Wl,--version-script,$<,--no-undefined \