diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2006-06-14 23:25:06 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2006-06-14 23:25:06 +0000 |
commit | 89621191fb8e21e7eea5d2ce766528998d328d3f (patch) | |
tree | 3130343e0d592b9c218c105a373b11c28c7efffc /SConstruct | |
parent | da189e266ea9f5fe2260af1f45fb798b331eb01d (diff) |
attempted fix for FLAC-sensitive build of libsndfile - link FLAC into ardour if it exists
git-svn-id: svn://localhost/ardour2/trunk@594 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index 25e50a2377..74c936ac73 100644 --- a/SConstruct +++ b/SConstruct @@ -426,6 +426,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 if env['LIBLO']: |