From ac7caab127cef30af964d4fe8d35e4059a0eb77a Mon Sep 17 00:00:00 2001 From: jacob1 Date: Fri, 30 Aug 2019 23:42:23 -0400 Subject: [PATCH] Fix --nohttp --- SConscript | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/SConscript b/SConscript index bf6b8de98..b5c047603 100644 --- a/SConscript +++ b/SConscript @@ -312,7 +312,7 @@ def findLibs(env, conf): conf.CheckLib('dl') #Look for fftw - if not GetOption('nofft') and not conf.CheckLib(['fftw3f', 'fftw3f-3', 'libfftw3f-3', 'libfftw3f']): + if not GetOption('nofft') and not GetOption('renderer') and not conf.CheckLib(['fftw3f', 'fftw3f-3', 'libfftw3f-3', 'libfftw3f']): FatalError("fftw3f development library not found or not installed") #Look for bz2 @@ -328,14 +328,14 @@ def findLibs(env, conf): FatalError("libz not found or not installed") #Look for libcurl - if not GetOption('nohttp') and not conf.CheckLib(['curl', 'libcurl']): + if not GetOption('nohttp') and not GetOption('renderer') and not conf.CheckLib(['curl', 'libcurl']): FatalError("libcurl not found or not installed") - if platform == "Linux" or compilePlatform == "Linux" or platform == "FreeBSD": - if GetOption('static'): - env.ParseConfig("curl-config --static-libs") - else: - env.ParseConfig("curl-config --libs") + if platform == "Linux" or compilePlatform == "Linux" or platform == "FreeBSD": + if GetOption('static'): + env.ParseConfig("curl-config --static-libs") + else: + env.ParseConfig("curl-config --libs") #Look for pthreads if not conf.CheckLib(['pthread', 'pthreadVC2']):