Make macos version work (testes on m1 at least) #53

Merged
vaartis merged 1 commits from macos-fixes into main 2024-02-27 06:14:04 +00:00

1 Commits

Author SHA1 Message Date
Ekaterina Vaartis
4726a4488b Make macos version work (testes on m1 at least)
1. Change name of discord's library to libdiscord_game_sdk, so it
links properly
2. Change it's install name with install_name_tool to use @loader_path
instead of @rpath, that one's a blunder on discord's side, it should
really have been loader_path from the beginning (rpath means look at
where the binary is started from, loader_path means look at where the
library is)
3. Combine the aarch and x86 library into one, again no idea why
discord does not do this themselves
2024-02-25 16:40:54 +03:00