Lines 7-13
Link Here
|
7 |
: ${LDSHARED='${CC} -shared'} |
7 |
: ${LDSHARED='${CC} -shared'} |
8 |
if test "$rb_cv_binary_elf" = yes; then |
8 |
if test "$rb_cv_binary_elf" = yes; then |
9 |
- LDFLAGS="$LDFLAGS -Wl,-export-dynamic" |
9 |
- LDFLAGS="$LDFLAGS -Wl,-export-dynamic" |
10 |
+ LDFLAGS="$LDFLAGS -Wl,-export-dynamic -Wl,--no-undefined" |
10 |
+ LDFLAGS="$LDFLAGS -Wl,-export-dynamic -Wl,--no-undefined " |
11 |
fi |
11 |
fi |
12 |
rb_cv_dlopen=yes ;; |
12 |
rb_cv_dlopen=yes ;; |
13 |
interix*) : ${LDSHARED="$CC -shared"} |
13 |
interix*) : ${LDSHARED="$CC -shared"} |