set the export-dynamic linker flag on linux

(cherry picked from commit 4ae085a066)
This commit is contained in:
Evan Hunt
2018-11-28 23:38:43 -08:00
parent 28ca65c663
commit 8d698288fb
2 changed files with 2 additions and 0 deletions
Vendored
+1
View File
@@ -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
+1
View 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