summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 4da115ce4c..1808a643f3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3014,7 +3014,7 @@ STATIC=
AS_IF([test "x$EXTSTATIC" = x], [
# When building ext bundles, a mach-o bundle needs to know its loader
# program to bind symbols from the ruby executable
- EXTDLDFLAGS='-bundle_loader $(BUILTRUBY)'
+ EXTDLDFLAGS="-bundle_loader '\$(BUILTRUBY)'"
PREP="$PREP"' $(PROGRAM)'
])
rb_cv_dlopen=yes],