mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
configure: Pass CC, LD, AS, AR and NM to the libav configure if set
This commit is contained in:
parent
adfdfebc8c
commit
faa23b57b8
1 changed files with 20 additions and 0 deletions
20
configure.ac
20
configure.ac
|
@ -338,6 +338,26 @@ else
|
|||
;;
|
||||
esac
|
||||
|
||||
if test x"$AR" != x; then
|
||||
emblibav_configure_args="$emblibav_configure_args --ar=\\\"\\\$AR\\\""
|
||||
fi
|
||||
|
||||
if test x"$AS" != x; then
|
||||
emblibav_configure_args="$emblibav_configure_args --as=\\\"\\\$AS\\\""
|
||||
fi
|
||||
|
||||
if test x"$CC" != x; then
|
||||
emblibav_configure_args="$emblibav_configure_args --cc=\\\"\\\$CC\\\""
|
||||
fi
|
||||
|
||||
if test x"$LD" != x; then
|
||||
emblibav_configure_args="$emblibav_configure_args --ld=\\\"\\\$CC\\\""
|
||||
fi
|
||||
|
||||
if test x"$NM" != x; then
|
||||
emblibav_configure_args="$emblibav_configure_args --nm=\\\"\\\$NM\\\""
|
||||
fi
|
||||
|
||||
dnl checks for extra enable/disable flags
|
||||
LIBAV_OPTS="(cd $srcdir/gst-libs/ext/libav && ./configure --help)"
|
||||
# Let's check if we can disable the building of the libav binary
|
||||
|
|
Loading…
Reference in a new issue