aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/pyzfs
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2019-06-24 09:32:47 -0700
committerGitHub <[email protected]>2019-06-24 09:32:47 -0700
commit8f12a4f8d2846ca668f8ad90d9ea5c19c8c0b78f (patch)
tree9a200ae6e813a209cf67bd04eb563e9cfe52487e /contrib/pyzfs
parentcc9625c47c39ef9c558a51c6ae662d2342b70679 (diff)
Fix out-of-tree build failures
Resolve the incorrect use of srcdir and builddir references for various files in the build system. These have crept in over time and went unnoticed because when building in the top level directory srcdir and builddir are identical. With this change it's again possible to build in a subdirectory. $ mkdir obj $ cd obj $ ../configure $ make Reviewed-by: loli10K <[email protected]> Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Don Brady <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #8921 Closes #8943
Diffstat (limited to 'contrib/pyzfs')
-rw-r--r--contrib/pyzfs/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pyzfs/Makefile.am b/contrib/pyzfs/Makefile.am
index 1549bf237..fa1bb32ce 100644
--- a/contrib/pyzfs/Makefile.am
+++ b/contrib/pyzfs/Makefile.am
@@ -24,7 +24,7 @@ all-local:
# files are later created by manually loading the Python modules.
#
install-exec-local:
- $(PYTHON) $(srcdir)/setup.py install \
+ $(PYTHON) $(builddir)/setup.py install \
--prefix $(prefix) \
--root $(DESTDIR)/ \
--install-lib $(pythonsitedir) \