From a3469ecd96b972f737ff7398ebad1573530cf9bd Mon Sep 17 00:00:00 2001 From: vl Date: Thu, 23 Sep 2010 15:51:24 +0200 Subject: [PATCH] Added: in static, we don't compile fmod since it only exists in dynlib --- code/nel/src/sound/driver/sound_driver.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/nel/src/sound/driver/sound_driver.cpp b/code/nel/src/sound/driver/sound_driver.cpp index e4bc219b5..f18488779 100644 --- a/code/nel/src/sound/driver/sound_driver.cpp +++ b/code/nel/src/sound/driver/sound_driver.cpp @@ -41,7 +41,11 @@ using namespace NLMISC; # define NL_DSOUND_AVAILABLE 0 # define NL_XAUDIO2_AVAILABLE 0 #elif defined( NL_OS_UNIX ) +#ifdef NL_STATIC +# define NL_FMOD_AVAILABLE 0 +#else # define NL_FMOD_AVAILABLE 1 +#endif # define NL_OPENAL_AVAILABLE 1 # define NL_DSOUND_AVAILABLE 0 # define NL_XAUDIO2_AVAILABLE 0