mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
77bb2a4e79
fix build on python 3.12+ Have some old config to remove in the future via staging
14 lines
653 B
Diff
14 lines
653 B
Diff
diff --git a/python/Makefile.am b/python/Makefile.am
|
|
index 64d3892..365dc8e 100644
|
|
--- a/python/Makefile.am
|
|
+++ b/python/Makefile.am
|
|
@@ -14,7 +14,7 @@ all-local:
|
|
CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py build --build-base py$(PYTHONREV)
|
|
|
|
install-exec-local:
|
|
- CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py build --build-base py$(PYTHONREV) install --root ${DESTDIR} --prefix=${prefix} --install-lib=$(pythonsitedir)
|
|
+ CFLAGS="${CFLAGS} -fno-strict-aliasing" @PYTHONBINARY@ setup.py build --build-base py$(PYTHONREV) install --root ${py} --install-lib=$(pythonsitedir)
|
|
|
|
clean-local:
|
|
rm -rf py$(PYTHONREV)
|