use different symbol for flac version check, the other one wasn't working correctly
authorDoug McLain <doug@nostar.net>
Mon, 25 Jun 2007 18:29:44 +0000 (18:29 +0000)
committerDoug McLain <doug@nostar.net>
Mon, 25 Jun 2007 18:29:44 +0000 (18:29 +0000)
git-svn-id: svn://localhost/ardour2/trunk@2031 d708f5d6-7413-0410-9779-e7cbd77b26cf

SConstruct

index 0e7c571b79bd14619b3468bed4ec227dfaccfb6c..34a7071a664555d5c955f909827cc8af651dfc32 100644 (file)
@@ -743,7 +743,7 @@ libraries['flac'].Append(CCFLAGS="-I/usr/local/include", LINKFLAGS="-L/usr/local
 #
 
 conf = Configure (libraries['flac'])
-if conf.CheckLib ('FLAC', 'FLAC__seekable_stream_decoder_set_read_callback', language='CXX'):
+if conf.CheckLib ('FLAC', 'FLAC__seekable_stream_decoder_init', language='CXX'):
     conf.env.Append(CCFLAGS='-DHAVE_FLAC')
     use_flac = False
 else: