summaryrefslogtreecommitdiff
path: root/homebrew/libslax/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/libslax/.make.sh-auto')
-rw-r--r--homebrew/libslax/.make.sh-auto7
1 files changed, 7 insertions, 0 deletions
diff --git a/homebrew/libslax/.make.sh-auto b/homebrew/libslax/.make.sh-auto
new file mode 100644
index 000000000..6c89740ed
--- /dev/null
+++ b/homebrew/libslax/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+ENV.append "LDFLAGS", "-L#{Formula["openssl"].opt_lib}"
+if MacOS.version == :sierra || MacOS.version == :el_capitan
+ENV["SDKROOT"] = MacOS.sdk_path
+end
+pkg:configure --disable-dependency-tracking --enable-libedit
+make DESTDIR=${PKG_DEST} install