From 79e0429cf5482f3ea618aa8ee44eae30420ef3d9 Mon Sep 17 00:00:00 2001 From: Themaister Date: Thu, 30 Dec 2010 14:27:55 +0100 Subject: [PATCH] Do not check for libsnes if we're building dynamic binary. --- qb/config.libs.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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