mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-22 06:13:51 -07:00
Merge pull request #2185 from wh201906/fix_python_3.12
Fix client build with Python 3.12
This commit is contained in:
commit
d3612e7927
1 changed files with 2 additions and 2 deletions
|
@ -273,7 +273,7 @@ ifneq ($(SKIPPYTHON),1)
|
||||||
PYTHONLDLIBS = $(shell $(PKG_CONFIG_ENV) pkg-config --libs python3 2>/dev/null)
|
PYTHONLDLIBS = $(shell $(PKG_CONFIG_ENV) pkg-config --libs python3 2>/dev/null)
|
||||||
ifneq ($(PYTHONLDLIBS),)
|
ifneq ($(PYTHONLDLIBS),)
|
||||||
PYTHONLIBLD = $(PYTHONLDLIBS)
|
PYTHONLIBLD = $(PYTHONLDLIBS)
|
||||||
PYTHONLIBINC = $(PYTHONINCLUDES)
|
PYTHONLIBINC = $(subst -I,-isystem ,$(PYTHONINCLUDES))
|
||||||
PYTHON_FOUND = 1
|
PYTHON_FOUND = 1
|
||||||
else
|
else
|
||||||
# since python3.8, applications willing to embed python must use -embed:
|
# since python3.8, applications willing to embed python must use -embed:
|
||||||
|
@ -281,7 +281,7 @@ ifneq ($(SKIPPYTHON),1)
|
||||||
PYTHONLDLIBS = $(shell $(PKG_CONFIG_ENV) pkg-config --libs python3-embed 2>/dev/null)
|
PYTHONLDLIBS = $(shell $(PKG_CONFIG_ENV) pkg-config --libs python3-embed 2>/dev/null)
|
||||||
ifneq ($(PYTHONLDLIBS),)
|
ifneq ($(PYTHONLDLIBS),)
|
||||||
PYTHONLIBLD = $(PYTHONLDLIBS)
|
PYTHONLIBLD = $(PYTHONLDLIBS)
|
||||||
PYTHONLIBINC = $(PYTHONINCLUDES)
|
PYTHONLIBINC = $(subst -I,-isystem ,$(PYTHONINCLUDES))
|
||||||
PYTHON_FOUND = 1
|
PYTHON_FOUND = 1
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue