Is there a way to specify a file, rather than a string when passing parameters?
env = Environment(LIBPATH = "include") # problem
Export("env")
SConscript("somepath")
...
# SConscript #
Import("env")
env.Program( ... )
The problem is it'll use the directory of the SConscript, which does not have the "include" folder. I've noticed that some of the objects returned (env.Program()) that don't have this problem. When doing a out = env.Program(...) in the SConscript print out it'll return one path, then in the SConstruct it'll return another path that is the correct one fixing the relative path.