From 2944362fe6a87b5a5e6636ffc96bbba212cda534 Mon Sep 17 00:00:00 2001 From: Enn3Developer Date: Thu, 24 Oct 2024 16:21:33 +0200 Subject: [PATCH] fixing build on linux --- dist-workspace.toml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/dist-workspace.toml b/dist-workspace.toml index b7c5d7e..287b9c4 100644 --- a/dist-workspace.toml +++ b/dist-workspace.toml @@ -15,5 +15,10 @@ targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux- install-path = "CARGO_HOME" # Whether to install an updater program install-updater = true -# Install dependencies needed for building -packages_install = "sudo apt install -y mold libasound2-dev" + +# Install dependencies needed to build for Linux +[dist.dependencies.apt] +mold = "*" +libasound2-dev = "*" +musl-tools = { version = "*", targets = ["x86_64-unknown-linux-musl"] } +musl-dev = { version = "*", targets = ["x86_64-unknown-linux-musl"] } \ No newline at end of file