summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcah <cah@ableton.com>2021-12-17 22:11:54 +0100
committercah <cah@ableton.com>2021-12-17 22:11:54 +0100
commit90e53d5f1e3eadd3534b6fa1b0e3404b3a7cae1e (patch)
tree10bba828b6166bdc8cb3fc89ec50420a54d7ddc1
parentcce3730330bd5621a94ec813934ba4f41254910d (diff)
Fix inexplicable change to dylib paths with new VM.fix-mac
After re-creating the macOS build VM, suddenly liblwext4 ends up linked as @rpath/liblwext4.dylib which breaks the DoM make_dmg script. I can only guess this is due to me installing a newer CMake.
-rw-r--r--cscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/cscript b/cscript
index 4fad21a..1dffd4a 100644
--- a/cscript
+++ b/cscript
@@ -40,6 +40,7 @@ def make_toolchain(filename, arch, sdk_prefix, sdk):
print('SET(CMAKE_C_FLAGS_RELEASE "-O2 -g -ggdb3" CACHE INTERNAL "c release compiler flags")', file=f)
print('SET(CMAKE_CXX_FLAGS_RELEASE "-O2 -g -ggdb3" CACHE INTERNAL "cxx release compiler flags")', file=f)
print('SET(CMAKE_ASM_FLAGS_RELEASE "" CACHE INTERNAL "asm release compiler flags")', file=f)
+ print('SET(CMAKE_SKIP_RPATH YES)', file=f)
def build(target, options):