Skip to content

Commit 5040ae0

Browse files
committed
Don't hardcode --pkg-config option
Closes #2
1 parent 2cce3ff commit 5040ae0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build_scripts/build_ffmpeg.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ pushd ffmpeg-$FFMPEG_VERSION
278278
--cross-prefix=$CROSS_PREFIX \
279279
--enable-cross-compile \
280280
--sysroot=$PLATFORM \
281-
--pkg-config=/usr/local/bin/pkg-config \
281+
--pkg-config=$(which pkg-config) \
282282
--pkg-config-flags="--static" \
283283
--enable-pic \
284284
--enable-small \

0 commit comments

Comments
 (0)