diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-05-20 13:00:57 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-05-20 13:00:57 -0700 |
commit | 76c0719a15c61ddd3a7c7deab41585967d353413 (patch) | |
tree | 42665c8cd888bb7d619468be109ab92f62f0aa8b | |
parent | 022fbf0134d00fdf6cbddf170b2783aebc16d3e9 (diff) | |
download | libyajl2-gem-76c0719a15c61ddd3a7c7deab41585967d353413.tar.gz |
use dir glob properly
-rw-r--r-- | ext/libyajl2/extconf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/libyajl2/extconf.rb b/ext/libyajl2/extconf.rb index 7892a84..ab9bb66 100644 --- a/ext/libyajl2/extconf.rb +++ b/ext/libyajl2/extconf.rb @@ -52,7 +52,7 @@ module Libyajl2Build create_makefile("libyajl") # ruby on windows helpfully drops a *.def file to export Init_libyajl which we don't need because this isn't really a ruby extension - FileUtils.rm_f("*.def") + FileUtils.rm_f(Dir["*.def"]) # and we need to surgically remove it from the LDFLAGS $LDFLAGS.gsub!(/\S+.def/, ' ') |