]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add -Wl,--export-dynamic to standard LDFLAGS if supported
authorOndřej Surý <ondrej@isc.org>
Wed, 27 Apr 2022 14:41:27 +0000 (16:41 +0200)
committerOndřej Surý <ondrej@isc.org>
Tue, 3 May 2022 19:14:25 +0000 (21:14 +0200)
commit7fef5fc46cadc8c4ef6a5b9eaf24155d4e7a4f36
tree39e86dbd650ec82c70b89ba3c34f1d821911e409
parentae8b335c11a8a323c5a6617be2931822fc9463c6
Add -Wl,--export-dynamic to standard LDFLAGS if supported

From the ld man page:

  When creating a dynamically linked executable, using the -E option or
  the --export-dynamic option causes the linker to add all symbols to
  the dynamic symbol table.  The dynamic symbol table is the set of
  symbols which are visible from dynamic objects at run time.

This should allow the backtrace(3) to fully resolve the symbols when
creating backtrace on an assertion failure.

(cherry picked from commit b05e20c9685ca8168681d360720c7c94a4fd6f0a)
Makefile.top
configure.ac