if test "$lshared" = "yes" ; then
echo "BUILD_SHARED=yes" >> config.mak
echo "PIC=-fPIC -DPIC" >> config.mak
- echo "SPPMAJOR=${lavc_version/.*/}" >> config.mak
+ echo "SPPMAJOR=${lavc_version%%.*}" >> config.mak
echo "SPPVERSION=$lavc_version" >> config.mak
- echo "LAVCMAJOR=${lavc_version/.*/}" >> config.mak
+ echo "LAVCMAJOR=${lavc_version%%.*}" >> config.mak
echo "LAVCVERSION=$lavc_version" >> config.mak
- echo "LAVFMAJOR=${lavf_version/.*/}" >> config.mak
+ echo "LAVFMAJOR=${lavf_version%%.*}" >> config.mak
echo "LAVFVERSION=$lavf_version" >> config.mak
- echo "LAVUMAJOR=${lavu_version/.*/}" >> config.mak
+ echo "LAVUMAJOR=${lavu_version%%.*}" >> config.mak
echo "LAVUVERSION=$lavu_version" >> config.mak
fi
echo "EXTRALIBS=$extralibs" >> config.mak