summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
-rw-r--r--configure.in2
1 files changed, 2 insertions, 0 deletions
@@ -769,6 +769,8 @@ if test "$GCC" = yes; then
AC_SUBST(WERRORFLAG, "-Werror")
if test "$visibility_option" = yes; then
RUBY_APPEND_OPTION(XCFLAGS, -fvisibility=hidden)
else
RUBY_TRY_LDFLAGS([-Wl,-unexported_symbol,_Init_*], [visibility_option=ld], [visibility_option=no])
fi