]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
set the export-dynamic linker flag on linux
authorEvan Hunt <each@isc.org>
Thu, 29 Nov 2018 06:13:27 +0000 (22:13 -0800)
committerEvan Hunt <each@isc.org>
Thu, 29 Nov 2018 07:38:43 +0000 (23:38 -0800)
(cherry picked from commit 4ae085a066c24d97893ec82a37709e71cfcdfac8)

configure
configure.ac

index 581109592b860ec4815081606fdd8c467c27c759..4a853ea3b98aed934f171a2a7d895cb412bb7f19 100755 (executable)
--- a/configure
+++ b/configure
@@ -23749,6 +23749,7 @@ if test "yes" = "$dlopen"; then
        case $host in
                *-linux*|*-gnu*)
                        SO_CFLAGS="-fPIC"
+                        LDFLAGS="${LDFLAGS} -Wl,--export-dynamic"
                        SO_LDFLAGS=""
                        if test "yes" = "$have_dl"
                        then
index 92652d290bf038ddf97eaf93f1b32f72b98d5227..35c930b22e6f77851615a4bc83893afb11bcc533 100644 (file)
@@ -5078,6 +5078,7 @@ if test "yes" = "$dlopen"; then
        case $host in
                *-linux*|*-gnu*)
                        SO_CFLAGS="-fPIC"
+                        LDFLAGS="${LDFLAGS} -Wl,--export-dynamic"
                        SO_LDFLAGS=""
                        if test "yes" = "$have_dl"
                        then