mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Allow the python-config executable to be specified in the environment.
This commit is contained in:
parent
fc955537a8
commit
2c06ab4ac3
@ -49,8 +49,13 @@ else {
|
|||||||
message(Building for Linux/Mac...)
|
message(Building for Linux/Mac...)
|
||||||
|
|
||||||
# Find and configure Python
|
# Find and configure Python
|
||||||
|
# Environment setting
|
||||||
|
PYTHON_CONFIG = $$(PYTHON_CONFIG)
|
||||||
|
|
||||||
# Python 2?
|
# Python 2?
|
||||||
PYTHON_CONFIG = $$system(which python-config)
|
isEmpty(PYTHON_CONFIG) {
|
||||||
|
PYTHON_CONFIG = $$system(which python-config)
|
||||||
|
}
|
||||||
|
|
||||||
# Maybe Python 3?
|
# Maybe Python 3?
|
||||||
isEmpty(PYTHON_CONFIG) {
|
isEmpty(PYTHON_CONFIG) {
|
||||||
|
Loading…
Reference in New Issue
Block a user