summaryrefslogtreecommitdiff
path: root/homebrew/ldns/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/ldns/.make.sh-auto')
-rw-r--r--homebrew/ldns/.make.sh-auto6
1 files changed, 6 insertions, 0 deletions
diff --git a/homebrew/ldns/.make.sh-auto b/homebrew/ldns/.make.sh-auto
new file mode 100644
index 000000000..297ce0f30
--- /dev/null
+++ b/homebrew/ldns/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+args = %W[--prefix=#{prefix} --with-drill --with-examples --with-ssl=#{Formula["openssl"].opt_prefix} --with-pyldns PYTHON_SITE_PKG=#{lib}/python2.7/site-packages --disable-dane-verify ]
+pkg:configure *args
+inreplace "Makefile" do |s|
+s.change_make_var! "PYTHON_LDFLAGS", "-undefined dynamic_lookup"
+s.gsub! /(\$\(PYTHON_LDFLAGS\).*) -no-undefined/, "\\1"