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

View File

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