Skip to content

Commit

Permalink
Update the compilation step
Browse files Browse the repository at this point in the history
  • Loading branch information
cedx committed Sep 20, 2024
1 parent 7093fef commit 6575378
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/setup_hashlink/Setup.hx
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,13 @@ class Setup {
/** Compiles the HashLink sources on the macOS platform. **/
function compileLinux(): Promise<String> {
final dependencies = [
"libglu1-mesa-dev",
"libmbedtls-dev",
"libopenal-dev",
"libpng-dev",
"libsdl2-dev",
"libturbojpeg0-dev",
"libsqlite3-dev",
"libturbojpeg-dev",
"libuv1-dev",
"libvorbis-dev"
];
Expand All @@ -87,7 +89,7 @@ class Setup {

/** Compiles the HashLink sources on the macOS platform. **/
function compileMacOs(): Promise<String> {
final commands = ["brew bundle", "make", "sudo make install"];
final commands = ["brew bundle", "make", "sudo make codesign_osx", "sudo make install"];
commands.iter(command -> Sys.command(command));
return Promise.resolve("/usr/local");
}
Expand Down

0 comments on commit 6575378

Please sign in to comment.