mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 14:15:37 +00:00
Set PYTHON using ?= syntax
This commit is contained in:
parent
8f6e8cfcc7
commit
8a3628fc86
|
@ -39,10 +39,13 @@ LOCAL_LDFLAGS += -lws2_32
|
||||||
ifdef SHARED
|
ifdef SHARED
|
||||||
SHARED_SUFFIX=.$(DLEXT)
|
SHARED_SUFFIX=.$(DLEXT)
|
||||||
endif
|
endif
|
||||||
|
PYTHON ?= python
|
||||||
else
|
else
|
||||||
DLEXT ?= so
|
DLEXT ?= so
|
||||||
EXEXT=
|
EXEXT=
|
||||||
SHARED_SUFFIX=
|
SHARED_SUFFIX=
|
||||||
|
# python2 for POSIX since FreeBSD has only python2 as default.
|
||||||
|
PYTHON ?= python2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Zlib shared library extensions:
|
# Zlib shared library extensions:
|
||||||
|
@ -50,15 +53,6 @@ ifdef ZLIB
|
||||||
LOCAL_LDFLAGS += -lz
|
LOCAL_LDFLAGS += -lz
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Python executable
|
|
||||||
ifndef PYTHON
|
|
||||||
ifdef WINDOWS
|
|
||||||
PYTHON=python
|
|
||||||
else
|
|
||||||
PYTHON=python2
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
APPS = test_suite_aes.ecb test_suite_aes.cbc \
|
APPS = test_suite_aes.ecb test_suite_aes.cbc \
|
||||||
test_suite_aes.cfb test_suite_aes.ofb \
|
test_suite_aes.cfb test_suite_aes.ofb \
|
||||||
test_suite_aes.xts \
|
test_suite_aes.xts \
|
||||||
|
|
Loading…
Reference in a new issue