summaryrefslogtreecommitdiff
path: root/homebrew/mbedtls/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/mbedtls/.make.sh-auto')
-rw-r--r--homebrew/mbedtls/.make.sh-auto4
1 files changed, 4 insertions, 0 deletions
diff --git a/homebrew/mbedtls/.make.sh-auto b/homebrew/mbedtls/.make.sh-auto
new file mode 100644
index 000000000..ffdb1941a
--- /dev/null
+++ b/homebrew/mbedtls/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+inreplace "include/mbedtls/config.h" do |s|
+s.gsub! "//#define MBEDTLS_THREADING_PTHREAD", "#define MBEDTLS_THREADING_PTHREAD"
+s.gsub! "//#define MBEDTLS_THREADING_C", "#define MBEDTLS_THREADING_C"