diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-07-03 03:20:32 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-07-03 03:20:32 +0000 |
commit | acabf0d25139902b4ae2d153f983b0f79faa7b7e (patch) | |
tree | 060bc7c1c3df48e50fd50398a177bcbbab3741b7 /lib | |
parent | b06b830cc474cf9109d7740f9460080d72edaf3c (diff) | |
download | ruby-acabf0d25139902b4ae2d153f983b0f79faa7b7e.tar.gz ruby-acabf0d25139902b4ae2d153f983b0f79faa7b7e.tar.xz ruby-acabf0d25139902b4ae2d153f983b0f79faa7b7e.zip |
* lib/mkmf.rb (VPATH): convert from Windows form to Unix form on
MinGW. This fixes the build with GNU make 3.80-1 for Cygwin.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mkmf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mkmf.rb b/lib/mkmf.rb index 551fa4a5a..7ae234904 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -544,7 +544,7 @@ SHELL = /bin/sh srcdir = #{srcdir} topdir = #{$topdir} hdrdir = #{$hdrdir} -VPATH = $(srcdir) +VPATH = #{$mingw and CONFIG['build_os'] == 'cygwin' ? '$(shell cygpath -u $(srcdir))' : '$(srcdir)'} } drive = File::PATH_SEPARATOR == ';' ? /\A\w:/ : /\A/ if destdir = CONFIG["prefix"].scan(drive)[0] and !destdir.empty? |