mirror of https://github.com/facebook/rocksdb.git
10 lines
214 B
Makefile
10 lines
214 B
Makefile
|
ifndef PYTHON
|
||
|
|
||
|
# Default to python3. Some distros like CentOS 8 do not have `python`.
|
||
|
ifeq ($(origin PYTHON), undefined)
|
||
|
PYTHON := $(shell which python3 || which python || echo python3)
|
||
|
endif
|
||
|
export PYTHON
|
||
|
|
||
|
endif
|