diff options
author | H_Konishi <H_Konishi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-06-11 01:27:48 +0000 |
---|---|---|
committer | H_Konishi <H_Konishi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-06-11 01:27:48 +0000 |
commit | 0be64493584295d37016c15f821f6219e3d2568a (patch) | |
tree | 9d8c8beee149c50f44406ee8cd6dee4c3913c28f /ext/dl/extconf.rb | |
parent | 8f0b05258437cc12e4fb48171a638f4e98e74f10 (diff) | |
download | ruby-0be64493584295d37016c15f821f6219e3d2568a.tar.gz ruby-0be64493584295d37016c15f821f6219e3d2568a.tar.xz ruby-0be64493584295d37016c15f821f6219e3d2568a.zip |
new platform [bccwin32] merged.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl/extconf.rb')
-rw-r--r-- | ext/dl/extconf.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ext/dl/extconf.rb b/ext/dl/extconf.rb index 7b7c48f1a..46b3c6c87 100644 --- a/ext/dl/extconf.rb +++ b/ext/dl/extconf.rb @@ -176,6 +176,21 @@ $INSTALLFILES = [ ["dl.h", "$(archdir)$(target_prefix)", ""], ] +if /bccwin32/ =~ RUBY_PLATFORM + srcdir = $top_srcdir + "/ext/dl/" + if !FileTest.exist?( srcdir+"dl.def.org" ) + File.copy( srcdir+"dl.def", srcdir+"dl.def.org" ) + open( srcdir+"dl.def.org" ){ |f| + open( "dl.def", "w" ) { |g| + g.print f.gets + while line = f.gets + g.print "_", line + end + } + } + end +end + create_makefile('dl') rescue SystemExit # do nothing |