aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/shapefile.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/shapefile.rb')
-rw-r--r--Library/Formula/shapefile.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/shapefile.rb b/Library/Formula/shapefile.rb
index d9278de88..27740424d 100644
--- a/Library/Formula/shapefile.rb
+++ b/Library/Formula/shapefile.rb
@@ -9,7 +9,7 @@ class Shapefile <Formula
dylib = lib+"libshp.#{version}.dylib"
inreplace 'Makefile' do |s|
- s.change_make_var! "CFLAGS", ENV['CFLAGS']
+ s.change_make_var! "CFLAGS", ENV.cflags
end
system "make all"