зеркало из https://github.com/github/ruby.git
* 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:
Родитель
2b2ef5cfce
Коммит
3e5bff7ec1
|
@ -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>
|
Sun Nov 13 12:43:48 2011 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* ext/dbm/extconf.rb: rollback $libs and $defs when db detection is
|
* ext/dbm/extconf.rb: rollback $libs and $defs when db detection is
|
||||||
|
|
|
@ -29,8 +29,8 @@ headers.found = []
|
||||||
headers.defs = nil
|
headers.defs = nil
|
||||||
|
|
||||||
def headers.db_check(db)
|
def headers.db_check(db)
|
||||||
old_libs = $libs
|
old_libs = $libs.dup
|
||||||
old_defs = $defs
|
old_defs = $defs.dup
|
||||||
result = db_check2(db)
|
result = db_check2(db)
|
||||||
if !result
|
if !result
|
||||||
$libs = old_libs
|
$libs = old_libs
|
||||||
|
|
Загрузка…
Ссылка в новой задаче