From cf1575f17d67f685806b7cad8118436798510de0 Mon Sep 17 00:00:00 2001 From: usa Date: Mon, 4 Nov 2002 11:06:03 +0000 Subject: * instruby.rb, lib/mkmf.rb: use CONFIG["ENABLE_SHARED"] instead of checking whether CONFIG["configure-args"] includes "--enable-shared". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- instruby.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'instruby.rb') diff --git a/instruby.rb b/instruby.rb index 48a0e4cf33..84aa430d47 100644 --- a/instruby.rb +++ b/instruby.rb @@ -68,7 +68,7 @@ sitelibdir = destdir+CONFIG["sitelibdir"] sitearchlibdir = destdir+CONFIG["sitearchdir"] mandir = destdir+CONFIG["mandir"] + "/man1" configure_args = Shellwords.shellwords(CONFIG["configure_args"]) -enable_shared = configure_args.include?('--enable-shared') +enable_shared = CONFIG["ENABLE_SHARED"] == 'yes' dll = CONFIG["LIBRUBY_SO"] lib = CONFIG["LIBRUBY"] arc = CONFIG["LIBRUBY_A"] -- cgit v1.2.3