Commit c2c80832 authored by Loïc Minier's avatar Loïc Minier

* configure.in: removed the -rdynamic check under Darwin (under Linux/ELF,

        this flag causes the -E or --export-dynamic flag to bepassed to ld
        which is needed for vls plugins; under Darwin, the -dynamic ld
        option is the default)
parent 3b816310
......@@ -196,12 +196,14 @@ if test "x${ac_cv_ld_darwin}" != "xno"; then
MODULE_LCFLAGS="${MODULE_LCFLAGS} -bundle -undefined error -lcc_dynamic"
fi
AC_CACHE_CHECK([if \$CXX accepts -rdynamic],
[ac_cv_ld_rdynamic],
[CXXFLAGS="${save_CXXFLAGS} -rdynamic"
AC_TRY_COMPILE([],, ac_cv_ld_rdynamic=yes, ac_cv_ld_rdynamic=no)])
if test "x$ac_cv_ld_rdynamic" = "xyes"; then
VLS_LCFLAGS="${VLS_LCFLAGS} -rdynamic"
if test "x${ac_cv_ld_darwin}" == "xno"; then
AC_CACHE_CHECK([if \$CXX accepts -rdynamic],
[ac_cv_ld_rdynamic],
[CXXFLAGS="${save_CXXFLAGS} -rdynamic"
AC_TRY_COMPILE([],, ac_cv_ld_rdynamic=yes, ac_cv_ld_rdynamic=no)])
if test "x$ac_cv_ld_rdynamic" = "xyes"; then
VLS_LCFLAGS="${VLS_LCFLAGS} -rdynamic"
fi
fi
dnl End of the bizarre compilation tests
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment