diff options
| author | samueljohn | 2012-08-06 12:57:03 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2012-08-06 10:55:33 -0700 |
| commit | b3ae3159f0dd16e210b4d14dc775e2d484b79506 (patch) | |
| tree | 998e12e3705687612beb5c21472244a61006679f /Library/Formula/serf.rb | |
| parent | 0a63d40a879a1e7ca80e3420a43dd022d802251f (diff) | |
| download | homebrew-b3ae3159f0dd16e210b4d14dc775e2d484b79506.tar.bz2 | |
serf: On Xcode-only glibtools needs apr headers
Closes #13998.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/serf.rb')
| -rw-r--r-- | Library/Formula/serf.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/serf.rb b/Library/Formula/serf.rb index 62bfed42c..ac3fcfb8f 100644 --- a/Library/Formula/serf.rb +++ b/Library/Formula/serf.rb @@ -20,6 +20,8 @@ class Serf < Formula ENV['CPP'] = "#{ENV.cc} -E" # Use HB libtool not the one from apr that also has a bad path. ENV['APR_LIBTOOL'] = 'glibtool' + # Especially for Xcode-only, the apr hearders are needed by glibtool + ENV.append 'CPPFLAGS', "-I#{MacOS.sdk_path}/usr/include/apr-1" end system "./configure", "--disable-debug", "--disable-dependency-tracking", |
