Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 321749 | Differences between
and this patch

Collapse All | Expand All

(-)patches/007_no-undefined-ext.patch.org (-1 / +1 lines)
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"}

Return to bug 321749