Do not check for libsnes if we're building dynamic binary.

This commit is contained in:
Themaister 2010-12-30 14:27:55 +01:00
parent 7e9a2a6e23
commit 79e0429cf5

View File

@ -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