adapt pacman 6.1 and lower version (#266)

* adapt pacman 6.1 and lower version

* remove legacy operation
This commit is contained in:
Kiyofumi Kondoh 2024-03-22 05:47:23 +09:00 committed by GitHub
parent 408157c82b
commit ac88996a8c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,12 +28,6 @@ if [ -e /usr/include/janus/plugins/plugin.h ];then
fi
# LD does not link mmal with this option
# This DOESN'T affect setup.py
LDFLAGS="${LDFLAGS//--as-needed/}"
export LDFLAGS="${LDFLAGS//,,/,}"
build() {
cd "$srcdir"
rm -rf $pkgname-build