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

* lib/mkmf.rb (init_mkmf): libdir prior to topdir.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2002-10-23 18:21:54 +00:00
parent 6009002c58
commit 236323b77c
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Thu Oct 24 03:19:22 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* lib/mkmf.rb (init_mkmf): libdir prior to topdir.
Thu Oct 24 02:22:41 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* configure.in (LIBPATHFLAG): should escape $. [ruby-dev:18572]

View file

@ -792,7 +792,7 @@ def init_mkmf(config = CONFIG)
$libs = ""
if $configure_args['--enable-shared'] or config["LIBRUBY"] != config["LIBRUBY_A"]
$LIBPATH = ["$(topdir)"]
$LIBPATH << "$(libdir)" unless $extmk or defined? CROSS_COMPILING
$LIBPATH.unshift("$(libdir)") unless $extmk or defined? CROSS_COMPILING
end
$LIBPATH << "$(archdir)"