Skip to content

Commit 3aa98e9

Browse files
committed
SConstruct: Prepend OIIO lib path to test env to support custom OIIO build.
Nuke 13.2 requires OIIO build with boost 1.70.0 so we need to prepend the lib path to the LD_LIBRARY_PATH for this custom OIIO build to used as runtime.
1 parent 9351f39 commit 3aa98e9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

SConstruct

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2571,6 +2571,8 @@ nukeTestEnv["ENV"]["LM_LICENSE_FILE"] = nukeTestEnv["NUKE_LICENSE_FILE"]
25712571
nukeTestEnv["ENV"]["foundry_LICENSE"] = nukeTestEnv["NUKE_LICENSE_FILE"]
25722572
nukeTestEnv["ENV"]["NUKE_PATH"] = "plugins/nuke"
25732573
nukeTestEnv["ENV"]["IECORE_OP_PATHS"] = "test/IECoreNuke/ops:test/IECore/ops"
2574+
# prepend OIIO LIB PATH to library path to support custom OIIO with specific dependencies
2575+
nukeTestEnv["ENV"][libraryPathEnvVar] = "{}:{}".format( nukeTestEnv.subst( "$OIIO_LIB_PATH" ), nukeTestEnv["ENV"][libraryPathEnvVar] )
25742576

25752577
if doConfigure :
25762578

0 commit comments

Comments
 (0)