Use -Wl,-export-dynamic to pass -export-dynamic to the linker.
authorTaylor R Campbell <campbell@mumble.net>
Sat, 10 Nov 2018 18:00:42 +0000 (18:00 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Sat, 10 Nov 2018 18:00:42 +0000 (18:00 +0000)
src/microcode/configure.ac

index 29a5d70c327c3d2cfa78b01c508fad1acb0e3439..a5494956b9aef8be6d2d8bc70c8b03233cb97dfb 100644 (file)
@@ -375,7 +375,7 @@ esac
 
 if test "${DO_GCC_TESTS}" = yes; then
     if test "${GNU_LD}" = yes; then
-       SCHEME_LDFLAGS="${SCHEME_LDFLAGS} -export-dynamic"
+       SCHEME_LDFLAGS="${SCHEME_LDFLAGS} -Wl,-export-dynamic"
     fi
     AC_MSG_CHECKING([for ELF binaries])
     AC_EGREP_CPP([yes],