Files
nixpkgs/pkgs/by-name/dt/dtc/python-path.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
468 B
Diff
Raw Normal View History

2025-10-09 14:15:47 +02:00
diff --git a/meson.build b/meson.build
index 310699f..4e2b8a4 100644
--- a/meson.build
+++ b/meson.build
@@ -48,7 +48,7 @@ if not valgrind.found()
endif
py = import('python')
-py = py.find_installation(required: get_option('python'))
+py = py.find_installation('@python_bin@', required: get_option('python'))
swig = find_program('swig', required: get_option('python'))
pylibfdt_enabled = not meson.is_cross_build() and py.found() and swig.found() ? true : false