From b2ae6d4b528581ad463f715ae4ddb1e9d31f09f8 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 26 Apr 2019 20:41:14 +0200 Subject: [PATCH] Tweak exported symbols when --enable-relocatable is used. --- ChangeLog | 5 +++++ lib/Makefile.in | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f3c5a1e..e0fedb4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2019-04-26 Bruno Haible + + Tweak exported symbols when --enable-relocatable is used. + * lib/Makefile.in (DEFS): Map 'relocate2' to a different symbol. + 2019-04-01 Bruno Haible build: Separate git operations from build operations. diff --git a/lib/Makefile.in b/lib/Makefile.in index 5a4a687..61d0ba2 100644 --- a/lib/Makefile.in +++ b/lib/Makefile.in @@ -24,7 +24,7 @@ INCLUDES = -I. -I$(srcdir) -I../include -I$(srcdir)/../include -I.. -I$(srcdir)/ DEFS = -DLIBDIR=\"$(libdir)\" -DBUILDING_LIBICONV -DBUILDING_DLL \ -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"$(libdir)\" -DNO_XMALLOC \ -Dset_relocation_prefix=libiconv_set_relocation_prefix \ --Drelocate=libiconv_relocate @DEFS@ +-Drelocate=libiconv_relocate -Drelocate2=libiconv_relocate2 @DEFS@ LIBTOOL = @LIBTOOL@ LIBTOOL_COMPILE = $(LIBTOOL) --mode=compile LIBTOOL_LINK = $(LIBTOOL) --mode=link -- 2.11.4.GIT