summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/mkmf.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
index d9bc3c5..d456438 100644
--- a/lib/mkmf.rb
+++ b/lib/mkmf.rb
@@ -325,6 +325,7 @@ def create_makefile(target)
if $configure_args['--enable-shared']
$libs = CONFIG["LIBRUBYARG"] + " " + $libs
+ $DLDFLAGS += " -L" + CONFIG["libdir"]
end
defflag = ''