iface-helper/build: add linker version script

This commit is contained in:
Thomas Haller
2016-10-12 11:16:20 +02:00
parent e95090d303
commit 401f6c2b8c
3 changed files with 9 additions and 1 deletions

View File

@@ -34,6 +34,7 @@ EXTRA_DIST = \
intltool-extract.in \ intltool-extract.in \
intltool-merge.in \ intltool-merge.in \
intltool-update.in \ intltool-update.in \
linker-script-binary.ver \
linker-script-settings.ver \ linker-script-settings.ver \
Makefile.glib \ Makefile.glib \
autogen.sh \ autogen.sh \

6
linker-script-binary.ver Normal file
View File

@@ -0,0 +1,6 @@
{
global:
_IO_stdin_used;
local:
*;
};

View File

@@ -595,7 +595,8 @@ nm_iface_helper_LDADD = \
$(LIBM) $(LIBM)
nm_iface_helper_LDFLAGS = \ nm_iface_helper_LDFLAGS = \
-rdynamic -rdynamic \
-Wl,--version-script="$(top_srcdir)/linker-script-binary.ver"
############################################################################### ###############################################################################