Skip to content

Commit de619a3

Browse files
theuniluke-jr
authored andcommitted
depends: Pass PYTHONPATH along to configure
1 parent e611b6e commit de619a3

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

Makefile.am

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ SUBDIRS = src
33
.PHONY: deploy FORCE
44

55
GZIP_ENV="-9n"
6+
export PYTHONPATH
67

78
if BUILD_BITCOIN_LIBS
89
pkgconfigdir = $(libdir)/pkgconfig

configure.ac

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ AC_PATH_PROG(CCACHE,ccache)
6565
AC_PATH_PROG(XGETTEXT,xgettext)
6666
AC_PATH_PROG(HEXDUMP,hexdump)
6767

68+
AC_ARG_VAR(PYTHONPATH, Augments the default search path for python module files)
69+
6870
dnl pkg-config check.
6971
PKG_PROG_PKG_CONFIG
7072

depends/config.site.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ CXX="@CXX@"
6666
OBJC="${CC}"
6767
OBJCXX="${CXX}"
6868
CCACHE=$prefix/native/bin/ccache
69+
PYTHONPATH=$prefix/native/lib/python/dist-packages:$PYTHONPATH
6970

7071
if test -n "@AR@"; then
7172
AR=@AR@

0 commit comments

Comments
 (0)