serf: On Xcode-only glibtools needs apr headers
Closes Homebrew/homebrew#13998. Signed-off-by: Adam Vandenberg <flangy@gmail.com>master
parent
61d176514a
commit
86b403441a
|
@ -20,6 +20,8 @@ class Serf < Formula
|
||||||
ENV['CPP'] = "#{ENV.cc} -E"
|
ENV['CPP'] = "#{ENV.cc} -E"
|
||||||
# Use HB libtool not the one from apr that also has a bad path.
|
# Use HB libtool not the one from apr that also has a bad path.
|
||||||
ENV['APR_LIBTOOL'] = 'glibtool'
|
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
|
end
|
||||||
system "./configure", "--disable-debug",
|
system "./configure", "--disable-debug",
|
||||||
"--disable-dependency-tracking",
|
"--disable-dependency-tracking",
|
||||||
|
|
Loading…
Reference in New Issue