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
vaartis commented 2024-02-25 13:49:33 +00:00 (Migrated from github.com)
  1. Change name of discord's library to libdiscord_game_sdk, so it links properly
  2. Change its install name with install_name_tool to use @loader_path instead of @rpath, that one's 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
1. Change name of discord's library to libdiscord_game_sdk, so it links properly 2. Change its install name with install_name_tool to use @loader_path instead of @rpath, that one's 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
vaporvee reviewed 2024-02-25 13:49:33 +00:00

okay so we got it working on intel let us test it on m1

okay so we got it working on intel let us test it on m1

@EddieDover

@EddieDover

this worked on apple silicon so far wow! thank you :) will merge it when we are able to test it on intel in a day and will release it

this worked on apple silicon so far wow! thank you :) will merge it when we are able to test it on intel in a day and will release it
EddieDover commented 2024-02-25 14:57:57 +00:00 (Migrated from github.com)

I can confirm this builds and works perfectly on my M2 mac.

I can confirm this builds and works perfectly on my M2 mac.
EddieDover commented 2024-02-27 03:45:22 +00:00 (Migrated from github.com)

I can also confirm this builds and works perfectly on an Intel.

I wholeheartedly approve this PR.

I can also confirm this builds and works perfectly on an Intel. I wholeheartedly approve this PR.

will make a release soon! :)

will make a release soon! :)
Sign in to join this conversation.
No description provided.