set the export-dynamic linker flag on linux
(cherry picked from commit 4ae085a066)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user