fixed the fucking linker on the vst!!!
This commit is contained in:
parent
a2e795296d
commit
3349576aa1
2 changed files with 19 additions and 15 deletions
|
@ -8,7 +8,7 @@ name = "vst"
|
|||
crate-type = ["cdylib", "rlib"]
|
||||
|
||||
[features]
|
||||
default = ["pixels"]
|
||||
default = ["vulkan-static"]
|
||||
pixels = ["gb-emu-lib/pixels-renderer"]
|
||||
vulkan = ["dep:raw-window-handle", "gb-emu-lib/vulkan-renderer"]
|
||||
vulkan-static = ["vulkan", "gb-emu-lib/vulkan-static"]
|
||||
|
|
|
@ -57,22 +57,26 @@ shutil.copyfile(
|
|||
)
|
||||
|
||||
os.system(
|
||||
'install_name_tool -change "@rpath/'
|
||||
+ SHADERC_DYLIB_NAME
|
||||
+ '" "@executable_path/../Frameworks/'
|
||||
+ SHADERC_DYLIB_NAME
|
||||
+ '" '
|
||||
+ executable
|
||||
'install_name_tool -add_rpath "@loader_path/../Frameworks/" "' + executable + '"'
|
||||
)
|
||||
|
||||
os.system(
|
||||
'install_name_tool -change "@rpath/'
|
||||
+ VULKAN_DYLIB_NAME
|
||||
+ '" "@executable_path/../Frameworks/'
|
||||
+ VULKAN_DYLIB_NAME
|
||||
+ '" '
|
||||
+ executable
|
||||
)
|
||||
# os.system(
|
||||
# 'install_name_tool -change "@rpath/'
|
||||
# + SHADERC_DYLIB_NAME
|
||||
# + '" "@executable_path/../Frameworks/'
|
||||
# + SHADERC_DYLIB_NAME
|
||||
# + '" '
|
||||
# + executable
|
||||
# )
|
||||
|
||||
# os.system(
|
||||
# 'install_name_tool -change "@rpath/'
|
||||
# + VULKAN_DYLIB_NAME
|
||||
# + '" "@executable_path/../Frameworks/'
|
||||
# + VULKAN_DYLIB_NAME
|
||||
# + '" '
|
||||
# + executable
|
||||
# )
|
||||
|
||||
os.system("codesign -f -s - " + bundle_path)
|
||||
os.system("codesign -f -s - " + executable)
|
||||
|
|
Loading…
Add table
Reference in a new issue