mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07:00
Fix client build with Python 3.12
Caused by upstream bug https://github.com/python/cpython/issues/106560 The fix is like this https://github.com/intel-media-ci/gstreamer/commit/bbdf6d46539061bf171319ae51999f061148ecbc
This commit is contained in:
+2
-2
@@ -273,7 +273,7 @@ ifneq ($(SKIPPYTHON),1)
|
||||
PYTHONLDLIBS = $(shell $(PKG_CONFIG_ENV) pkg-config --libs python3 2>/dev/null)
|
||||
ifneq ($(PYTHONLDLIBS),)
|
||||
PYTHONLIBLD = $(PYTHONLDLIBS)
|
||||
PYTHONLIBINC = $(PYTHONINCLUDES)
|
||||
PYTHONLIBINC = $(subst -I,-isystem ,$(PYTHONINCLUDES))
|
||||
PYTHON_FOUND = 1
|
||||
else
|
||||
# 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)
|
||||
ifneq ($(PYTHONLDLIBS),)
|
||||
PYTHONLIBLD = $(PYTHONLDLIBS)
|
||||
PYTHONLIBINC = $(PYTHONINCLUDES)
|
||||
PYTHONLIBINC = $(subst -I,-isystem ,$(PYTHONINCLUDES))
|
||||
PYTHON_FOUND = 1
|
||||
endif
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user