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"]
|
crate-type = ["cdylib", "rlib"]
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["pixels"]
|
default = ["vulkan-static"]
|
||||||
pixels = ["gb-emu-lib/pixels-renderer"]
|
pixels = ["gb-emu-lib/pixels-renderer"]
|
||||||
vulkan = ["dep:raw-window-handle", "gb-emu-lib/vulkan-renderer"]
|
vulkan = ["dep:raw-window-handle", "gb-emu-lib/vulkan-renderer"]
|
||||||
vulkan-static = ["vulkan", "gb-emu-lib/vulkan-static"]
|
vulkan-static = ["vulkan", "gb-emu-lib/vulkan-static"]
|
||||||
|
|
|
@ -57,22 +57,26 @@ shutil.copyfile(
|
||||||
)
|
)
|
||||||
|
|
||||||
os.system(
|
os.system(
|
||||||
'install_name_tool -change "@rpath/'
|
'install_name_tool -add_rpath "@loader_path/../Frameworks/" "' + executable + '"'
|
||||||
+ SHADERC_DYLIB_NAME
|
|
||||||
+ '" "@executable_path/../Frameworks/'
|
|
||||||
+ SHADERC_DYLIB_NAME
|
|
||||||
+ '" '
|
|
||||||
+ executable
|
|
||||||
)
|
)
|
||||||
|
|
||||||
os.system(
|
# os.system(
|
||||||
'install_name_tool -change "@rpath/'
|
# 'install_name_tool -change "@rpath/'
|
||||||
+ VULKAN_DYLIB_NAME
|
# + SHADERC_DYLIB_NAME
|
||||||
+ '" "@executable_path/../Frameworks/'
|
# + '" "@executable_path/../Frameworks/'
|
||||||
+ VULKAN_DYLIB_NAME
|
# + SHADERC_DYLIB_NAME
|
||||||
+ '" '
|
# + '" '
|
||||||
+ executable
|
# + 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 - " + bundle_path)
|
||||||
os.system("codesign -f -s - " + executable)
|
os.system("codesign -f -s - " + executable)
|
||||||
|
|
Loading…
Add table
Reference in a new issue