summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-05-20 13:00:57 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-05-20 13:00:57 -0700
commit76c0719a15c61ddd3a7c7deab41585967d353413 (patch)
tree42665c8cd888bb7d619468be109ab92f62f0aa8b /ext
parent022fbf0134d00fdf6cbddf170b2783aebc16d3e9 (diff)
downloadlibyajl2-gem-76c0719a15c61ddd3a7c7deab41585967d353413.tar.gz
use dir glob properly
Diffstat (limited to 'ext')
-rw-r--r--ext/libyajl2/extconf.rb2
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/, ' ')