1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/dbm/extconf.rb: duplicate $libs and $defs when save them.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2011-11-13 06:41:19 +00:00
parent 2b2ef5cfce
commit 3e5bff7ec1
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
Sun Nov 13 15:40:43 2011 Tanaka Akira <akr@fsij.org>
* ext/dbm/extconf.rb: duplicate $libs and $defs when save them.
Sun Nov 13 12:43:48 2011 Tanaka Akira <akr@fsij.org>
* ext/dbm/extconf.rb: rollback $libs and $defs when db detection is

View file

@ -29,8 +29,8 @@ headers.found = []
headers.defs = nil
def headers.db_check(db)
old_libs = $libs
old_defs = $defs
old_libs = $libs.dup
old_defs = $defs.dup
result = db_check2(db)
if !result
$libs = old_libs