summaryrefslogtreecommitdiff
path: root/homebrew/amap/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/amap/.make.sh-auto')
-rw-r--r--homebrew/amap/.make.sh-auto6
1 files changed, 6 insertions, 0 deletions
diff --git a/homebrew/amap/.make.sh-auto b/homebrew/amap/.make.sh-auto
new file mode 100644
index 000000000..0d0fb3959
--- /dev/null
+++ b/homebrew/amap/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+openssl = Formula["openssl"]
+inreplace "configure" do |s|
+s.gsub! 'SSL_IPATH=""', "SSL_IPATH=\"#{openssl.opt_include}/openssl\""
+s.gsub! 'SSL_PATH=""', "SSL_PATH=\"#{openssl.opt_lib}\""
+s.gsub! 'CRYPTO_PATH=""', "CRYPTO_PATH=\"#{openssl.opt_lib}\""