mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
daemon: fix pkg-config check for mingw
Test if empty first, so we don't override mingw pkg-config directory. Refs #56437 Change-Id: Ifb3c918a434aa697f81c92965cdb614b50728dc4
This commit is contained in:

committed by
Tristan Matthews

parent
4ed5a895fa
commit
d0932f4a14
@ -6,11 +6,10 @@ if test -z $AUTORECONF; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
PKGCONFIG=`which pkg-config`
|
||||
if test -z $PKGCONFIG; then
|
||||
echo "*** No pkg-config found, please install it ***"
|
||||
# warn without exiting, since pkg-config is only needed
|
||||
# by configure, not autogen.sh
|
||||
if !"${PKG_CONFIG:-pkg-config}" --version >/dev/null 2>&1; then
|
||||
echo "*** No pkg-config found, please install it ***"
|
||||
# warn without exiting, since pkg-config is only needed
|
||||
# by configure, not autogen.sh
|
||||
fi
|
||||
|
||||
LIBTOOLIZE=`which libtoolize || which glibtoolize`
|
||||
|
Reference in New Issue
Block a user