diff --git a/Cargo.toml b/Cargo.toml index a11ac648..ce21b6dc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,3 +17,9 @@ codegen-units = 1 opt-level = 2 [profile.dev.package.libsamplerate] opt-level = 2 + +[workspace.metadata.cross.target.aarch64-unknown-linux-gnu] +pre-build = [ + "dpkg --add-architecture $CROSS_DEB_ARCH", + "apt-get update && apt-get --assume-yes install libglib2.0-dev:$CROSS_DEB_ARCH" +] diff --git a/psst-gui/Cargo.toml b/psst-gui/Cargo.toml index 0731d04c..07f4604d 100644 --- a/psst-gui/Cargo.toml +++ b/psst-gui/Cargo.toml @@ -66,9 +66,3 @@ short_description = "Fast Spotify client with native GUI" long_description = """ Small and efficient graphical music player for Spotify network. """ - -[workspace.metadata.cross.target.aarch64-unknown-linux-gnu] -pre-build = [ - "dpkg --add-architecture $CROSS_DEB_ARCH", - "apt-get update && apt-get --assume-yes install libglib2.0-dev:$CROSS_DEB_ARCH" -] \ No newline at end of file