ffmpeg6: strip static libs fix for i686-musl

Closes #51664.
This commit is contained in:
xeroxslayer 2024-08-05 13:23:43 +02:00 committed by Andrew Benson
parent 7561876e34
commit 51095113f6
1 changed files with 4 additions and 3 deletions

View File

@ -196,10 +196,11 @@ ffmpeg6-devel_package() {
short_desc+=" - development files"
conflicts="ffmpeg-devel"
replaces="ffmpeg-devel>=0"
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
case "$XBPS_TARGET_MACHINE" in
i686*)
# /usr/bin/strip: error: the input file '/destdir//ffmpeg-devel-4.4.4/usr/lib/libavfilter.a(vf_atadenoise.o)' has no sections
nostrip_files="/usr/lib/libavfilter.a"
fi
nostrip_files="/usr/lib/libavfilter.a";;
esac
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig