Include env["suffix"] in binary names for macOS and iOS

This commit is contained in:
unvermuthet
2025-02-19 12:34:38 +01:00
parent ba780e0898
commit a21da62bc4
4 changed files with 7 additions and 7 deletions

View File

@@ -50,7 +50,7 @@ filepath = ""
if env["platform"] == "macos" or env["platform"] == "ios":
filepath = "{}.framework/".format(env["platform"])
file = "{}.{}.{}".format(libname, env["platform"], env["target"])
file = "{}{}".format(libname, env["suffix"])
libraryfile = "bin/{}/{}{}".format(env["platform"], filepath, file)
library = env.SharedLibrary(