diff --git a/SConstruct b/SConstruct index 25e50a2377..74c936ac73 100644 --- a/SConstruct +++ b/SConstruct @@ -425,6 +425,19 @@ else: libraries['usb'] = conf.Finish () +# +# Check for FLAC + +libraries['flac'] = LibraryInfo () + +conf = Configure (libraries['flac']) +if conf.CheckLib ('FLAC', 'flac_buffer_copy'): + have_libusb = True +else: + have_libusb = False + +libraries['flac'] = conf.Finish () + # # Check for liblo diff --git a/gtk2_ardour/SConscript b/gtk2_ardour/SConscript index 8ab1c0c19c..b670a6d969 100644 --- a/gtk2_ardour/SConscript +++ b/gtk2_ardour/SConscript @@ -35,6 +35,7 @@ gtkardour.Merge ([ libraries['libgnomecanvasmm'], libraries['sysmidi'], libraries['sndfile'], + libraries['flac'], libraries['lrdf'], libraries['glibmm2'], libraries['pangomm'],