Skip to content

Commit

Permalink
build: remove left-over pkgconfig vars in config.site.in
Browse files Browse the repository at this point in the history
These were overlooked in ee30bf7,
and they will create problems when updating the secp256k1 subtree,
see bitcoin-core/secp256k1#1127.
  • Loading branch information
real-or-random committed Jul 20, 2022
1 parent d1e4265 commit 36286ff
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions depends/config.site.in
Original file line number Diff line number Diff line change
Expand Up @@ -82,16 +82,6 @@ if test -z "$enable_lto" && test -n "@lto@"; then
enable_lto=yes
fi

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_PATH="${depends_prefix}/share/pkgconfig:${depends_prefix}/lib/pkgconfig"
if test -z "@allow_host_packages@"; then
export PKG_CONFIG_LIBDIR="${depends_prefix}/lib/pkgconfig"
fi

CPPFLAGS="-I${depends_prefix}/include/ ${CPPFLAGS}"
LDFLAGS="-L${depends_prefix}/lib ${LDFLAGS}"

Expand Down

0 comments on commit 36286ff

Please sign in to comment.