Skip to content

Commit 78b54a0

Browse files
committed
Do not include cpppath/extrapath/libpath when generating output location
Otherwise, if libraries are used which have deeper paths, the ouput path becomes really long and builds fail due to excessively long command line.
1 parent 0b4ee72 commit 78b54a0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

SConstruct

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -210,12 +210,12 @@ add_option( "cxx-use-shell-environment", "use $CXX from shell for C++ compiler"
210210
add_option( "ld", "linker to use" , 1 , True )
211211
add_option( "c++11", "enable c++11 support (experimental)", 0, True )
212212

213-
add_option( "cpppath", "Include path if you have headers in a nonstandard directory" , 1 , True )
214-
add_option( "libpath", "Library path if you have libraries in a nonstandard directory" , 1 , True )
213+
add_option( "cpppath", "Include path if you have headers in a nonstandard directory" , 1 , False )
214+
add_option( "libpath", "Library path if you have libraries in a nonstandard directory" , 1 , False )
215215

216-
add_option( "extrapath", "comma separated list of add'l paths (--extrapath /opt/foo/,/foo) static linking" , 1 , True )
217-
add_option( "extrapathdyn", "comma separated list of add'l paths (--extrapath /opt/foo/,/foo) dynamic linking" , 1 , True )
218-
add_option( "extralib", "comma separated list of libraries (--extralib js_static,readline" , 1 , True )
216+
add_option( "extrapath", "comma separated list of add'l paths (--extrapath /opt/foo/,/foo) static linking" , 1 , False )
217+
add_option( "extrapathdyn", "comma separated list of add'l paths (--extrapath /opt/foo/,/foo) dynamic linking" , 1 , False )
218+
add_option( "extralib", "comma separated list of libraries (--extralib js_static,readline" , 1 , False )
219219

220220
add_option( "no-glibc-check" , "don't check for new versions of glibc" , 0 , False )
221221

0 commit comments

Comments
 (0)