Change the paths used to build test C extensions in place to their abs counterparts. Avoids issues locating files if the build behaviour changes. Signed-off-by: Phil Howard <phil@xxxxxxxxxxxxx> --- bindings/python/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/python/Makefile.am b/bindings/python/Makefile.am index b2f2779..95edfff 100644 --- a/bindings/python/Makefile.am +++ b/bindings/python/Makefile.am @@ -14,8 +14,8 @@ endif all-local: GPIOD_WITH_TESTS=$(BUILD_TESTS) \ $(PYTHON) setup.py build_ext --inplace \ - --include-dirs=$(top_srcdir)/include/:$(top_srcdir)/tests/gpiosim/ \ - --library-dirs=$(top_builddir)/lib/.libs/:$(top_builddir)/tests/gpiosim/.libs/ + --include-dirs=$(abs_top_srcdir)/include/:$(abs_top_srcdir)/tests/gpiosim/ \ + --library-dirs=$(abs_top_builddir)/lib/.libs/:$(abs_top_builddir)/tests/gpiosim/.libs/ install-exec-local: GPIOD_WITH_TESTS= \ -- 2.34.1