Mercurial > pub > dyncall > bindings
diff ruby/rbdc/extconf.rb @ 25:02a455de2b40
- 1.0 updates
author | Tassilo Philipp |
---|---|
date | Tue, 24 Apr 2018 16:04:37 +0200 |
parents | 80273969f043 |
children |
line wrap: on
line diff
--- a/ruby/rbdc/extconf.rb Thu Apr 19 18:54:47 2018 +0200 +++ b/ruby/rbdc/extconf.rb Tue Apr 24 16:04:37 2018 +0200 @@ -1,7 +1,7 @@ #////////////////////////////////////////////////////////////////////// # # extconf.rb -# Copyright (c) 2007-2015 Daniel Adler <dadler@uni-goettingen.de>, +# Copyright (c) 2007-2018 Daniel Adler <dadler@uni-goettingen.de>, # Tassilo Philipp <tphilipp@potion-studios.com> # # Permission to use, copy, modify, and distribute this software for any @@ -35,7 +35,7 @@ Dir.chdir(base_dir) do cmd = case when RUBY_PLATFORM =~ /mswin/ then 'configure.bat && nmake /f Nmakefile' - else './configure && env CFLAGS="-fPIC" make' + else './configure && make' end puts cmd raise "'#{cmd}' failed" unless system(cmd)