diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2017-06-02 09:27:47 -0400 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2017-06-05 11:47:25 -0400 |
commit | 4f92b5fb301fac86453aeeaabfbd064c29674cd8 (patch) | |
tree | 89c273518183faa32f5d5246ceb281fb942063a1 /depends/config.site.in | |
parent | bea5b00cfe95cd37832305c0f93c339a22a7d79d (diff) |
Run Qt wallet tests on travis
Currently these test failures are not caught by travis leading to bugs like:
https://github.com/bitcoin/bitcoin/pull/10506
Diffstat (limited to 'depends/config.site.in')
-rw-r--r-- | depends/config.site.in | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/depends/config.site.in b/depends/config.site.in index 3d7c9fd43c..0a4a9c327e 100644 --- a/depends/config.site.in +++ b/depends/config.site.in @@ -13,10 +13,10 @@ fi if test -z $with_qt_translationdir; then with_qt_translationdir=$depends_prefix/translations fi -if test -z $with_qt_bindir; then +if test -z $with_qt_bindir && test -z "@no_qt@"; then with_qt_bindir=$depends_prefix/native/bin fi -if test -z $with_protoc_bindir; then +if test -z $with_protoc_bindir && test -z "@no_qt@"; then with_protoc_bindir=$depends_prefix/native/bin fi @@ -53,9 +53,10 @@ PKG_CONFIG="`which pkg-config` --static" # These two need to remain exported because pkg-config does not see them # otherwise. That means they must be unexported at the end of configure.ac to # avoid ruining the cache. Sigh. - -export PKG_CONFIG_LIBDIR=$depends_prefix/lib/pkgconfig -export PKG_CONFIG_PATH=$depends_prefix/share/pkgconfig +export PKG_CONFIG_PATH=$depends_prefix/share/pkgconfig:$depends_prefix/lib/pkgconfig +if test -z "@allow_host_packages@"; then + export PKGCONFIG_LIBDIR= +fi CPPFLAGS="-I$depends_prefix/include/ $CPPFLAGS" LDFLAGS="-L$depends_prefix/lib $LDFLAGS" |