|
@@ -313,7 +313,7 @@ def configure(env):
|
|
# Embree is only compatible with x86_64. Yet another unreliable hack that will break
|
|
# Embree is only compatible with x86_64. Yet another unreliable hack that will break
|
|
# cross-compilation, this will really need to be handle better. Thankfully only affects
|
|
# cross-compilation, this will really need to be handle better. Thankfully only affects
|
|
# people who disable builtin_embree (likely distro packagers).
|
|
# people who disable builtin_embree (likely distro packagers).
|
|
- if not env["builtin_embree"] and (is64 and platform.machine() == "x86_64"):
|
|
|
|
|
|
+ if env["tools"] and not env["builtin_embree"] and (is64 and platform.machine() == "x86_64"):
|
|
# No pkgconfig file so far, hardcode expected lib name.
|
|
# No pkgconfig file so far, hardcode expected lib name.
|
|
env.Append(LIBS=["embree3"])
|
|
env.Append(LIBS=["embree3"])
|
|
|
|
|