diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2015-12-17 16:43:56 -0500 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2015-12-22 04:37:46 +0000 |
commit | de619a37fd18a17225c8a10b828fc61958abe4cf (patch) | |
tree | a300b9c044e341dc632ca8e311adc2479ced12dd | |
parent | e611b6e3290ee08b5c77b6d68f906ce48cc5731d (diff) |
depends: Pass PYTHONPATH along to configure
-rw-r--r-- | Makefile.am | 1 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | depends/config.site.in | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 4522784971..e293e4fc34 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,6 +3,7 @@ SUBDIRS = src .PHONY: deploy FORCE GZIP_ENV="-9n" +export PYTHONPATH if BUILD_BITCOIN_LIBS pkgconfigdir = $(libdir)/pkgconfig diff --git a/configure.ac b/configure.ac index b555b11ff9..1aa6aac4bf 100644 --- a/configure.ac +++ b/configure.ac @@ -65,6 +65,8 @@ AC_PATH_PROG(CCACHE,ccache) AC_PATH_PROG(XGETTEXT,xgettext) AC_PATH_PROG(HEXDUMP,hexdump) +AC_ARG_VAR(PYTHONPATH, Augments the default search path for python module files) + dnl pkg-config check. PKG_PROG_PKG_CONFIG diff --git a/depends/config.site.in b/depends/config.site.in index 873f66018d..984ddb1e62 100644 --- a/depends/config.site.in +++ b/depends/config.site.in @@ -66,6 +66,7 @@ CXX="@CXX@" OBJC="${CC}" OBJCXX="${CXX}" CCACHE=$prefix/native/bin/ccache +PYTHONPATH=$prefix/native/lib/python/dist-packages:$PYTHONPATH if test -n "@AR@"; then AR=@AR@ |