summaryrefslogtreecommitdiff
path: root/lang/ruby16_static/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ruby16_static/Makefile')
-rw-r--r--lang/ruby16_static/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/ruby16_static/Makefile b/lang/ruby16_static/Makefile
index 40ef1786be21..fc255a69e774 100644
--- a/lang/ruby16_static/Makefile
+++ b/lang/ruby16_static/Makefile
@@ -52,7 +52,7 @@ DESCR= ${_RUBY_PORTDIR}/pkg-descr
# although the resulted interpreter is not capable of loading dynamic
# modules.
-CONFIGURE_ENV= XLDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS!= cd ${_RUBY_PORTDIR} && ${MAKE} -V CONFIGURE_ARGS
.if defined(STATIC)
CONFIGURE_ARGS:= ${CONFIGURE_ARGS:N--enable-shared:M-*} \