mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 16:14:40 +00:00
make: better auto-detect and typo fixed
This commit is contained in:
parent
9bb9ce5e9d
commit
285f7b027b
7
Makefile
7
Makefile
@ -47,15 +47,14 @@ CORE_HASH= ${CORE_COMMIT:C/^.*-//1}
|
||||
|
||||
CORE_ABI?= 16.7
|
||||
|
||||
_FLAVOUR!= /usr/local/bin/openssl version
|
||||
FLAVOUR?= ${_FLAVOUR:[1]}
|
||||
|
||||
.if "${FLAVOUR}" == OpenSSL
|
||||
CORE_REPOSITORY?= ${CORE_ABI}/latest
|
||||
.elif "${FLAVOUR}" == LibreSSL
|
||||
CORE_REPOSITORY?= ${CORE_ABI}/libressl
|
||||
.else
|
||||
. if "${FLAVOUR}" == ""
|
||||
_FLAVOUR!= /usr/local/bin/openssl version
|
||||
FLAVOUR= ${_FLAVOUR:[0]}
|
||||
. endif
|
||||
CORE_REPOSITORY?= ${FLAVOUR}
|
||||
.endif
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user