Commit ee911101 authored by Steven Walters's avatar Steven Walters Committed by Fiona Glaser
Browse files

Use cross-prefix properly with pkg-config for cross-compiling

parent f5af5f14
......@@ -416,7 +416,7 @@ fi
if [ "$lavf_input" = "auto" ] ; then
lavf_input="no"
if [ `pkg-config --exists libavformat libavcodec libswscale 2>$DEVNULL` ] ; then
if [ `${cross_prefix}pkg-config --exists libavformat libavcodec libswscale 2>$DEVNULL` ] ; then
LAVF_LDFLAGS="$LAVF_LDFLAGS $(pkg-config --libs libavformat libavcodec libswscale)"
LAVF_CFLAGS="$LAVF_CFLAGS $(pkg-config --cflags libavformat libavcodec libswscale)"
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment