mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2026-01-07 19:58:02 +00:00
build-sys: Use ${PKG_CONFIG} rather than pkg-config
In mingw builds, this will be set to mingw-pkg-config rather than the host system one. This is fixing a build failure on mingw when spice-protocol is only installed in the mingw prefix and not system-wide.
This commit is contained in:
parent
523875d8c5
commit
26a533d6eb
@ -29,7 +29,7 @@ SPICE_CHECK_SYSDEPS
|
||||
|
||||
# Checks for libraries
|
||||
PKG_CHECK_MODULES([PROTOCOL], [spice-protocol >= 0.12.10])
|
||||
CODE_GENERATOR_BASEDIR=`pkg-config --variable=codegendir spice-protocol`
|
||||
CODE_GENERATOR_BASEDIR=`${PKG_CONFIG} --variable=codegendir spice-protocol`
|
||||
AC_SUBST([CODE_GENERATOR_BASEDIR])
|
||||
|
||||
SPICE_CHECK_PYTHON_MODULES()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user