From ce836ccc0f55819f949d32efbb392efb15d50021 Mon Sep 17 00:00:00 2001 From: ergrelet Date: Sun, 24 Mar 2024 16:24:45 +0100 Subject: [PATCH] Fix release build for musl targets --- Cross.toml | 5 +++++ README.md | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 Cross.toml diff --git a/Cross.toml b/Cross.toml new file mode 100644 index 0000000..b885a0f --- /dev/null +++ b/Cross.toml @@ -0,0 +1,5 @@ +[build] +pre-build = [ # additional commands to run prior to building the package + "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 diff --git a/README.md b/README.md index 5a0d90c..d40147f 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,8 @@ SUBCOMMANDS: ## How to Build -On **Ubuntu**, you might need to install: `libxcb-shape0-dev` and `libxcb-xfixes0-dev`. +On **Ubuntu**, you might need to install: `libxcb-shape0-dev`, +`libxcb-xfixes0-dev` and `libglib2.0-dev`. ``` git clone https://github.com/ergrelet/resym.git && cd resym