diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2012-07-02 13:28:27 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2012-07-02 13:28:27 +0000 |
commit | b92f25b3052bec483279cb7d98361d765ca41aff (patch) | |
tree | 87ed67c7345f1a88bb97cd4736f61c8fd1944980 | |
parent | dd4701fb6114f4cdcf0cf6c3bc92ae85acffaf1c (diff) |
clean up test for libcurl, but mo' better
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@12982 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | SConstruct | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct index d1c30d26d3..6036132ad4 100644 --- a/SConstruct +++ b/SConstruct @@ -534,10 +534,11 @@ if env['FREESOUND']: conf = env.Configure(custom_tests = { 'CheckPKGVersion' : CheckPKGVersion}) if conf.CheckPKGVersion('libcurl', '7.0.0'): + libraries['curl'].ParseConfig('pkg-config --cflags --libs libcurl') + else: print 'FREESOUND support cannot be built without the development libraries for CURL 7.X.X or later' env['FREESOUND'] = 0; - else: - libraries['curl'].ParseConfig('pkg-config --cflags --libs libcurl') + conf.Finish () if env['LV2']: |