Skip to content

Commit

Permalink
Merge 804d7c9 into 2395800
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 committed Nov 5, 2019
2 parents 2395800 + 804d7c9 commit 7a56489
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions changes/ticket32191
@@ -0,0 +1,3 @@
o Minor features (build system):
- Make pkg-config use --prefix when cross-compiling, if PKG_CONFIG_PATH
is not set. Closes ticket 32191.
5 changes: 5 additions & 0 deletions configure.ac
Expand Up @@ -37,6 +37,11 @@ else
pkg_config_user_action="check the PKG_CONFIG_PATH environment variable"
fi

if test "x$PKG_CONFIG_PATH" = "x" && test "x$prefix" != "xNONE" && test "$host" != "$build"; then
export PKG_CONFIG_PATH=$prefix/lib/pkgconfig
AC_MSG_NOTICE([set PKG_CONFIG_PATH=$PKG_CONFIG_PATH to support cross-compiling])
fi

AC_ARG_ENABLE(openbsd-malloc,
AS_HELP_STRING(--enable-openbsd-malloc, [use malloc code from OpenBSD. Linux only. Deprecated: see --with-malloc]))
AC_ARG_ENABLE(static-openssl,
Expand Down

0 comments on commit 7a56489

Please sign in to comment.