mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/mkmf.rb (create_makefile): save/restore $libs and $LIBPATH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
118ff27661
commit
8fc5876485
3 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Mon Mar 12 18:59:38 2001 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||||
|
|
||||||
|
* lib/mkmf.rb (create_makefile): save/restore $libs and $LIBPATH.
|
||||||
|
|
||||||
Sun Mar 11 00:55:31 2001 WATANABE Hirofumi <eban@ruby-lang.org>
|
Sun Mar 11 00:55:31 2001 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||||
|
|
||||||
* lib/mkmf.rb (install_rb): fix handling of destination path.
|
* lib/mkmf.rb (install_rb): fix handling of destination path.
|
||||||
|
|
|
@ -354,6 +354,8 @@ def dir_config(target, idefault=nil, ldefault=nil)
|
||||||
end
|
end
|
||||||
|
|
||||||
def create_makefile(target, srcdir = File.dirname($0))
|
def create_makefile(target, srcdir = File.dirname($0))
|
||||||
|
save_libs = $libs.dup
|
||||||
|
save_libpath = $LIBPATH.dup
|
||||||
print "creating Makefile\n"
|
print "creating Makefile\n"
|
||||||
rm_f "conftest*"
|
rm_f "conftest*"
|
||||||
STDOUT.flush
|
STDOUT.flush
|
||||||
|
@ -540,6 +542,8 @@ EOMF
|
||||||
dfile.close
|
dfile.close
|
||||||
end
|
end
|
||||||
mfile.close
|
mfile.close
|
||||||
|
$libs = save_libs
|
||||||
|
$LIBPATH = save_libpath
|
||||||
end
|
end
|
||||||
|
|
||||||
$OBJEXT = CONFIG["OBJEXT"]
|
$OBJEXT = CONFIG["OBJEXT"]
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#define RUBY_VERSION "1.7.0"
|
#define RUBY_VERSION "1.7.0"
|
||||||
#define RUBY_RELEASE_DATE "2001-03-10"
|
#define RUBY_RELEASE_DATE "2001-03-12"
|
||||||
#define RUBY_VERSION_CODE 170
|
#define RUBY_VERSION_CODE 170
|
||||||
#define RUBY_RELEASE_CODE 20010310
|
#define RUBY_RELEASE_CODE 20010312
|
||||||
|
|
Loading…
Reference in a new issue