Added
Link Here
|
1 |
--- tool/m4/ruby_dtrace_available.m4.orig 2021-09-06 18:40:48 UTC |
2 |
+++ tool/m4/ruby_dtrace_available.m4 |
3 |
@@ -4,7 +4,7 @@ AC_DEFUN([RUBY_DTRACE_AVAILABLE], |
4 |
[ |
5 |
echo "provider conftest{ probe fire(); };" > conftest_provider.d |
6 |
rb_cv_dtrace_available=no |
7 |
- AS_FOR(opt, rb_dtrace_opt, ["-xnolibs" ""], [dnl |
8 |
+ AS_FOR(opt, rb_dtrace_opt, ["-x ldpath=${LD} -xnolibs" "-xnolibs" ""], [dnl |
9 |
AS_IF([$DTRACE opt -h -o conftest_provider.h -s conftest_provider.d >/dev/null 2>/dev/null], |
10 |
[], [continue]) |
11 |
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[@%:@include "conftest_provider.h"]], [[CONFTEST_FIRE();]])], |