aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-11-14 22:12:31 -0600
committerJack Nagel2014-11-14 22:12:31 -0600
commit1fe6bec8e6db1fe15fca25b10b0900075fce4322 (patch)
tree44859d326cfa9cf0d855797b2fb7696ce63d72f6 /Library/Formula
parent581146f980862cc53c6375a6f80577d57c35d5bc (diff)
downloadhomebrew-1fe6bec8e6db1fe15fca25b10b0900075fce4322.tar.bz2
tcpreplay: find libpcap on Xcode-only systems
Fixes #34063.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/tcpreplay.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/tcpreplay.rb b/Library/Formula/tcpreplay.rb
index d066a8d23..9744b40ab 100644
--- a/Library/Formula/tcpreplay.rb
+++ b/Library/Formula/tcpreplay.rb
@@ -16,7 +16,8 @@ class Tcpreplay < Formula
system "./configure", "--disable-dependency-tracking",
"--disable-debug",
"--prefix=#{prefix}",
- "--enable-dynamic-link"
+ "--enable-dynamic-link",
+ "--with-libpcap=#{MacOS.sdk_path}/usr"
system "make", "install"
end
end