Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
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
Show whitespace changes
Inline
Side-by-side
src/Makefile
View file @
3307958b
...
...
@@ -121,13 +121,15 @@ ifeq ($(uname_S),Darwin)
# must be referenced explicitly during build.
ifeq
($(uname_M),arm64)
# Homebrew arm64 uses /opt/homebrew as HOMEBREW_PREFIX
OPENSSL_CFLAGS
=
-I
/opt/homebrew/opt/openssl/include
OPENSSL_LDFLAGS
=
-L
/opt/homebrew/opt/openssl/lib
OPENSSL_PREFIX
=
/opt/homebrew/opt/openssl
else
# Homebrew x86/ppc uses /usr/local as HOMEBREW_PREFIX
OPENSSL_CFLAGS
=
-I
/usr/local/opt/openssl/include
OPENSSL_LDFLAGS
=
-L
/usr/local/opt/openssl/lib
OPENSSL_PREFIX
=
/usr/local/opt/openssl
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
ifeq
($(uname_S),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