Skip to content

Commit e8c9bfd

Browse files
Cycles : Fix build with Xcode 15
1 parent d539635 commit e8c9bfd

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Cycles/config.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,21 @@
1212

1313
"dependencies" : [ "Boost", "OpenJPEG", "OpenImageIO", "TBB", "Alembic", "Embree", "OpenColorIO", "OpenVDB", "OpenShadingLanguage", "OpenSubdiv", "OpenPGL", "LibWebP", "Zstandard" ],
1414

15+
"environment" : {
16+
17+
# Needed because the build process runs oslc.
18+
"DYLD_FALLBACK_LIBRARY_PATH" : "{buildDir}/lib",
19+
20+
},
21+
1522
"commands" : [
1623

1724
# The Cycles archive includes empty folders under `./lib`
1825
# named `{platform}_{architecture}`. The existence of a folder
1926
# in lib matching the current platform and architecture causes
2027
# the build to only look for dependencies within it, so we
2128
# remove them to allow dependencies to be found in `{buildDir}`.
22-
"rmdir --ignore-fail-on-non-empty ./lib/*",
29+
"rm -r ./lib",
2330

2431
"mkdir build",
2532
"cd build &&"

0 commit comments

Comments
 (0)