Browse Source

depends: Pass PYTHONPATH along to configure

0.13
Cory Fields 9 years ago committed by Luke Dashjr
parent
commit
de619a37fd
  1. 1
      Makefile.am
  2. 2
      configure.ac
  3. 1
      depends/config.site.in

1
Makefile.am

@ -3,6 +3,7 @@ SUBDIRS = src
.PHONY: deploy FORCE .PHONY: deploy FORCE
GZIP_ENV="-9n" GZIP_ENV="-9n"
export PYTHONPATH
if BUILD_BITCOIN_LIBS if BUILD_BITCOIN_LIBS
pkgconfigdir = $(libdir)/pkgconfig pkgconfigdir = $(libdir)/pkgconfig

2
configure.ac

@ -65,6 +65,8 @@ AC_PATH_PROG(CCACHE,ccache)
AC_PATH_PROG(XGETTEXT,xgettext) AC_PATH_PROG(XGETTEXT,xgettext)
AC_PATH_PROG(HEXDUMP,hexdump) AC_PATH_PROG(HEXDUMP,hexdump)
AC_ARG_VAR(PYTHONPATH, Augments the default search path for python module files)
dnl pkg-config check. dnl pkg-config check.
PKG_PROG_PKG_CONFIG PKG_PROG_PKG_CONFIG

1
depends/config.site.in

@ -66,6 +66,7 @@ CXX="@CXX@"
OBJC="${CC}" OBJC="${CC}"
OBJCXX="${CXX}" OBJCXX="${CXX}"
CCACHE=$prefix/native/bin/ccache CCACHE=$prefix/native/bin/ccache
PYTHONPATH=$prefix/native/lib/python/dist-packages:$PYTHONPATH
if test -n "@AR@"; then if test -n "@AR@"; then
AR=@AR@ AR=@AR@

Loading…
Cancel
Save