diff --git a/qb/config.libs.sh b/qb/config.libs.sh index 52e6e47d8d..95f796c42d 100644 --- a/qb/config.libs.sh +++ b/qb/config.libs.sh @@ -228,9 +228,12 @@ fi check_pkgconf ALSA alsa check_lib '' CACA -lcaca -check_header OSS sys/soundcard.h -check_header OSS_BSD soundcard.h -check_lib '' OSS_LIB -lossaudio + +if [ "$HAVE_OSS" != 'no' ]; then + check_header OSS sys/soundcard.h + check_header OSS_BSD soundcard.h + check_lib '' OSS_LIB -lossaudio +fi if [ "$OS" = 'Linux' ]; then HAVE_TINYALSA=yes