serf: On Xcode-only glibtools needs apr headers
Closes Homebrew/homebrew#13998. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
61d176514a
commit
86b403441a
1 changed files with 2 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue