mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
configure: Use $PKG_CONFIG instead of pkg-config to fix cross compilation
Fixes bug #610839.
This commit is contained in:
parent
bcd06ea527
commit
673459c711
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ AG_GST_CHECK_GST_CONTROLLER($GST_MAJORMINOR, [$GST_REQ], yes)
|
|||
AG_GST_CHECK_GST_CHECK($GST_MAJORMINOR, [$GST_REQ], no)
|
||||
AG_GST_CHECK_GST_PLUGINS_BASE($GST_MAJORMINOR, [$GSTPB_REQ], yes)
|
||||
|
||||
GST_TOOLS_DIR=`pkg-config --variable=toolsdir gstreamer-$GST_MAJORMINOR`
|
||||
GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_MAJORMINOR`
|
||||
if test -z $GST_TOOLS_DIR; then
|
||||
AC_MSG_ERROR([no tools dir defined in GStreamer pkg-config file; core upgrade needed.])
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue