diff --git a/qb/config.libs.sh b/qb/config.libs.sh index 3ff699b50f..a94db0fc9c 100644 --- a/qb/config.libs.sh +++ b/qb/config.libs.sh @@ -3,9 +3,11 @@ check_switch_c C99 -std=gnu99 check_critical C99 "Cannot find C99 compatible compiler." -check_lib_cxx SNES $LIBSNES snes_init -ldl -check_critical SNES "Cannot find libsnes." -add_define_make libsnes $LIBSNES +if [ $HAVE_DYNAMIC != yes ]; then + check_lib_cxx SNES $LIBSNES snes_init -ldl + check_critical SNES "Cannot find libsnes." + add_define_make libsnes $LIBSNES +fi check_lib ALSA -lasound snd_pcm_open check_header OSS sys/soundcard.h