aboutsummaryrefslogtreecommitdiff
path: root/reproduce/src/make/dependencies-build-rules.mk
diff options
context:
space:
mode:
authorMohammad Akhlaghi <mohammad@akhlaghi.org>2018-12-03 18:37:36 +0000
committerMohammad Akhlaghi <mohammad@akhlaghi.org>2018-12-03 18:41:27 +0000
commit49654daa6b1ecf2126154466a9fccef4fc7ec2f5 (patch)
treeb3b46acb2ad8c92024aa884dd29e485f769db26d /reproduce/src/make/dependencies-build-rules.mk
parenta2db1f07f9d2bda6bed34fb359c44d6299cbbf5e (diff)
Checking Mac OS host for configuring OpenSSL
OpenSSL can't automatically detect the architecture of Mac OS systems, so as it suggests on its Wiki, it needs some help for doing that. With this commit, we are checking the build on Mac OS with the presence of `otool' (Mac OS's linker). If it's there, we'll add the OpenSSL configuration options suggested by OpenSSL's Wiki.
Diffstat (limited to 'reproduce/src/make/dependencies-build-rules.mk')
-rw-r--r--reproduce/src/make/dependencies-build-rules.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/reproduce/src/make/dependencies-build-rules.mk b/reproduce/src/make/dependencies-build-rules.mk
index af2be95..4de9a4e 100644
--- a/reproduce/src/make/dependencies-build-rules.mk
+++ b/reproduce/src/make/dependencies-build-rules.mk
@@ -72,8 +72,8 @@ gbuild = if [ x$(static_build) = xyes ] && [ $(3)x = staticx ]; then \
mv tmp-$$confscript $$confscript; \
chmod +x $$confscript; \
shellop="SHELL=$(ibdir)/bash"; \
- elif [ -f /bin/bash ]; then shellop="SHELL=/bin/bash"; \
- else shellop="SHELL=/bin/sh"; \
+ elif [ -f /bin/bash ]; then shellop="SHELL=/bin/bash"; \
+ else shellop="SHELL=/bin/sh"; \
fi; \
\
if [ x"$(2)" = x"zlib-$(zlib-version)" ]; then \