mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-12 15:52:40 +02:00
build: Do not export PKG_CONFIG_{PATH|LIBDIR}
variables
This commit is contained in:
10
configure.ac
10
configure.ac
@ -19,6 +19,16 @@ if test "$PKG_CONFIG" = ""; then
|
||||
AC_MSG_ERROR([pkg-config not found])
|
||||
fi
|
||||
|
||||
# When compiling with depends, the `PKG_CONFIG_PATH` and `PKG_CONFIG_LIBDIR` variables,
|
||||
# being set in a `config.site` file, are not exported to let the `--config-cache` option
|
||||
# work properly.
|
||||
if test -n "$PKG_CONFIG_PATH"; then
|
||||
PKG_CONFIG="env PKG_CONFIG_PATH=$PKG_CONFIG_PATH $PKG_CONFIG"
|
||||
fi
|
||||
if test -n "$PKG_CONFIG_LIBDIR"; then
|
||||
PKG_CONFIG="env PKG_CONFIG_LIBDIR=$PKG_CONFIG_LIBDIR $PKG_CONFIG"
|
||||
fi
|
||||
|
||||
BITCOIN_DAEMON_NAME=bitcoind
|
||||
BITCOIN_GUI_NAME=bitcoin-qt
|
||||
BITCOIN_CLI_NAME=bitcoin-cli
|
||||
|
Reference in New Issue
Block a user