Use -Bsymbolic-functions and -Bsymbolic
This avoids dynamic lookups to resolve symbols inside the library, but disallows symbol interposition. * m4/symbolic.m4: New file. * buddy/m4/symbolic.m4: New link. * configure.ac, buddy/configure.ac: Add AX_SYMBOLIC. * buddy/src/Makefile.am, iface/ltsmin/Makefile.am, src/Makefile.am, wrap/python/Makefile.am: Link with $(SYMBOLIC_LDFLAGS).
This commit is contained in:
parent
0553842347
commit
86abd6c1c0
8 changed files with 40 additions and 4 deletions
|
|
@ -19,6 +19,7 @@ AC_PROG_YACC
|
|||
AC_PROG_CXX
|
||||
|
||||
LT_INIT([win32-dll])
|
||||
AX_BSYMBOLIC
|
||||
|
||||
# Use -Werror since using -fvisibility under MinGW is only a warning.
|
||||
# (The option is ignored anyway since this does not make sense under windows).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue