Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
3307958b
Unverified
Commit
3307958b
authored
Aug 08, 2021
by
Yossi Gottlieb
Committed by
GitHub
Aug 08, 2021
Browse files
Propagate OPENSSL_PREFIX to hiredis. (#9345)
parent
e1dc9790
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Makefile
View file @
3307958b
...
@@ -121,13 +121,15 @@ ifeq ($(uname_S),Darwin)
...
@@ -121,13 +121,15 @@ ifeq ($(uname_S),Darwin)
# must be referenced explicitly during build.
# must be referenced explicitly during build.
ifeq
($(uname_M),arm64)
ifeq
($(uname_M),arm64)
# Homebrew arm64 uses /opt/homebrew as HOMEBREW_PREFIX
# Homebrew arm64 uses /opt/homebrew as HOMEBREW_PREFIX
OPENSSL_CFLAGS
=
-I
/opt/homebrew/opt/openssl/include
OPENSSL_PREFIX
=
/opt/homebrew/opt/openssl
OPENSSL_LDFLAGS
=
-L
/opt/homebrew/opt/openssl/lib
else
else
# Homebrew x86/ppc uses /usr/local as HOMEBREW_PREFIX
# Homebrew x86/ppc uses /usr/local as HOMEBREW_PREFIX
OPENSSL_CFLAGS
=
-I
/usr/local/opt/openssl/include
OPENSSL_PREFIX
=
/usr/local/opt/openssl
OPENSSL_LDFLAGS
=
-L
/usr/local/opt/openssl/lib
endif
endif
OPENSSL_CFLAGS
=
-I
$(OPENSSL_PREFIX)
/include
OPENSSL_LDFLAGS
=
-L
$(OPENSSL_PREFIX)
/lib
# Also export OPENSSL_PREFIX so it ends up in deps sub-Makefiles
export
OPENSSL_PREFIX
else
else
ifeq
($(uname_S),AIX)
ifeq
($(uname_S),AIX)
# AIX
# AIX
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment