summaryrefslogtreecommitdiff
path: root/ext/ffi_yajl
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ffi_yajl')
-rw-r--r--ext/ffi_yajl/ext/encoder/extconf.rb4
-rw-r--r--ext/ffi_yajl/ext/parser/extconf.rb4
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/ffi_yajl/ext/encoder/extconf.rb b/ext/ffi_yajl/ext/encoder/extconf.rb
index e13c0a1..8f7d14b 100644
--- a/ext/ffi_yajl/ext/encoder/extconf.rb
+++ b/ext/ffi_yajl/ext/encoder/extconf.rb
@@ -42,14 +42,14 @@ if !windows? && !find_header("yajl/yajl_tree.h")
"/usr/local/include", # /usr/local
RbConfig::CONFIG["includedir"], # Ruby
"/usr/include", # (default)
- ]
+ ].freeze
LIB_DIRS = [
"/opt/local/lib", # MacPorts
"/usr/local/lib", # /usr/local + Homebrew
RbConfig::CONFIG["libdir"], # Ruby
"/usr/lib", # (default)
- ]
+ ].freeze
# add --with-yajl-dir, --with-yajl-include, --with-yajl-lib
dir_config("yajl", HEADER_DIRS, LIB_DIRS)
diff --git a/ext/ffi_yajl/ext/parser/extconf.rb b/ext/ffi_yajl/ext/parser/extconf.rb
index 86ee50f..5611934 100644
--- a/ext/ffi_yajl/ext/parser/extconf.rb
+++ b/ext/ffi_yajl/ext/parser/extconf.rb
@@ -42,14 +42,14 @@ if !windows? && !find_header("yajl/yajl_tree.h")
"/usr/local/include", # /usr/local
RbConfig::CONFIG["includedir"], # Ruby
"/usr/include", # (default)
- ]
+ ].freeze
LIB_DIRS = [
"/opt/local/lib", # MacPorts
"/usr/local/lib", # /usr/local + Homebrew
RbConfig::CONFIG["libdir"], # Ruby
"/usr/lib", # (default)
- ]
+ ].freeze
# add --with-yajl-dir, --with-yajl-include, --with-yajl-lib
dir_config("yajl", HEADER_DIRS, LIB_DIRS)