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
hiredis
Commits
9eca1f36
Commit
9eca1f36
authored
Sep 30, 2021
by
Yunier Perez
Committed by
Michael Grunder
Oct 03, 2021
Browse files
Allow to override OPENSSL_PREFIX in Linux
parent
2d9d7751
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
9eca1f36
...
...
@@ -77,7 +77,12 @@ ifeq ($(USE_SSL),1)
endif
ifeq
($(uname_S),Linux)
SSL_LDFLAGS
=
-lssl
-lcrypto
ifdef
OPENSSL_PREFIX
CFLAGS
+=
-I
$(OPENSSL_PREFIX)
/include
SSL_LDFLAGS
+=
-L
$(OPENSSL_PREFIX)
/lib
-lssl
-lcrypto
else
SSL_LDFLAGS
=
-lssl
-lcrypto
endif
else
OPENSSL_PREFIX
?=
/usr/local/opt/openssl
CFLAGS
+=
-I
$(OPENSSL_PREFIX)
/include
...
...
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