trying to fix macos builds again

This commit is contained in:
2023-12-23 00:25:22 +01:00
parent f8a84cf3d5
commit 0fb4526191
6 changed files with 21 additions and 7 deletions

View File

@@ -23,6 +23,11 @@ if env["target"] == "template_debug":
else:
debugsuffix = ""
if env.get("arch") == "arm64":
armsuffix = "_arm64"
else:
armsuffix = ""
env.Append(LIBPATH=["src/lib/discord_game_sdk/bin/"])
sources = Glob("src/lib/discord_game_sdk/cpp/*.cpp")
env.Append(CPPPATH=["src/lib/discord_game_sdk/cpp/"])
@@ -37,6 +42,7 @@ library = env.SharedLibrary(
target="project/addons/discord-sdk-gd/bin/"
+ libexportfolder
+ "discord_game_sdk_binding"
+ armsuffix
+ debugsuffix,
source=sources,
)