diff --git a/qb/config.libs.sh b/qb/config.libs.sh index ef85e0de46..40684f3310 100644 --- a/qb/config.libs.sh +++ b/qb/config.libs.sh @@ -137,6 +137,12 @@ check_lib '' THREADS "$PTHREADLIB" pthread_create check_enabled THREADS THREAD_STORAGE 'Thread Local Storage' 'Threads are' false check_lib '' THREAD_STORAGE "$PTHREADLIB" pthread_key_create +if [ "$HAVE_NO_CDROM" = "" ]; then + if [ "$OS" = 'Win32' ] || [ "$OS" = 'Linux' ]; then + HAVE_CDROM=yes + fi +fi + if [ "$OS" = 'Win32' ]; then HAVE_DYLIB=yes else diff --git a/qb/config.params.sh b/qb/config.params.sh index 89f4704734..e8f318b435 100644 --- a/qb/config.params.sh +++ b/qb/config.params.sh @@ -142,3 +142,4 @@ HAVE_VIDEOPROCESSOR=auto # Enable video processor core HAVE_VIDEOCORE=auto # Broadcom Videocore 4 support HAVE_DRMINGW=no # DrMingw exception handler HAVE_EASTEREGG=yes # Easter egg +HAVE_CDROM=no