libgpiod/fix-python-install.patch
2023-02-13 16:45:58 +00:00

12 lines
377 B
Diff

--- libgpiod-2.0/bindings/python/Makefile.am.orig 2023-02-13 16:18:49.337516185 +0000
+++ libgpiod-2.0/bindings/python/Makefile.am 2023-02-13 16:19:08.952659326 +0000
@@ -18,7 +18,7 @@
install-exec-local:
GPIOD_WITH_TESTS= \
- $(PYTHON) $(srcdir)/setup.py install --prefix=$(prefix)
+ $(PYTHON) $(srcdir)/setup.py install --prefix=$(DESTDIR)$(prefix)
SUBDIRS = gpiod