diff options
| author | Jack Nagel | 2014-09-25 15:27:02 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-09-25 15:27:02 -0500 | 
| commit | 3f7955c9e3fbde1c25094f8fd72b9b84f3723f2b (patch) | |
| tree | 39db75f6c2768aa871e8d89cf9f12ec62b80e829 /Library/Formula/uwsgi.rb | |
| parent | 46489b49a5a44dd0afc32c76c16ec650750abbcb (diff) | |
| download | homebrew-3f7955c9e3fbde1c25094f8fd72b9b84f3723f2b.tar.bz2 | |
uwsgi: simplify arch flag manipulation
Is this actually necessary?
Diffstat (limited to 'Library/Formula/uwsgi.rb')
| -rw-r--r-- | Library/Formula/uwsgi.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/uwsgi.rb b/Library/Formula/uwsgi.rb index 51fd2b643..32be98977 100644 --- a/Library/Formula/uwsgi.rb +++ b/Library/Formula/uwsgi.rb @@ -43,7 +43,7 @@ class Uwsgi < Formula    option "with-ruby", "Compile with Ruby support"    def install -    %w{CFLAGS LDFLAGS}.each { |e| ENV.append e, "-arch #{MacOS.preferred_arch}" } +    ENV.append %w{CFLAGS LDFLAGS}, "-arch #{MacOS.preferred_arch}"      json = build.with?("jansson") ? "jansson" : "yajl"      yaml = build.with?("libyaml") ? "libyaml" : "embedded"  | 
