Fix linux_audit setting on non-multiarch Debian.
This commit is contained in:
2
mkpkg
2
mkpkg
@@ -223,7 +223,7 @@ case "$osversion" in
|
||||
--with-linux-audit
|
||||
$configure_opts"
|
||||
# Use correct libaudit dependency
|
||||
linux_audit=`dpkg-query -S /lib/$MULTIARCH/libaudit.so.[0-9]* | sed -e 's/:.*//' -e q`
|
||||
linux_audit=`dpkg-query -S /lib/${MULTIARCH}${MULTIARCH:+/}libaudit.so.[0-9]* | sed -e 's/:.*//' -e q`
|
||||
PPVARS="${PPVARS}${PPVARS+$space}linux_audit=$linux_audit"
|
||||
;;
|
||||
macos*)
|
||||
|
Reference in New Issue
Block a user