From 77a63ee7f468656e0a3739ba63b1c7005d433367 Mon Sep 17 00:00:00 2001 From: core Date: Thu, 30 Mar 2023 20:23:35 -0400 Subject: [PATCH] add support for statically linking with musl --- Cargo.lock | 2 +- tfclient/Cargo.toml | 2 +- tfclient/build.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ab8422d..34f9b03 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2480,7 +2480,7 @@ dependencies = [ [[package]] name = "tfclient" -version = "0.1.2" +version = "0.1.3" dependencies = [ "base64 0.21.0", "base64-serde", diff --git a/tfclient/Cargo.toml b/tfclient/Cargo.toml index 078dea7..cf20fdc 100644 --- a/tfclient/Cargo.toml +++ b/tfclient/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tfclient" -version = "0.1.2" +version = "0.1.3" edition = "2021" description = "An open-source reimplementation of a Defined Networking-compatible client" license = "GPL-3.0-or-later" diff --git a/tfclient/build.rs b/tfclient/build.rs index b1138e6..ec88d5c 100644 --- a/tfclient/build.rs +++ b/tfclient/build.rs @@ -65,7 +65,7 @@ fn main() { let target_file = match target.as_str() { "x86_64-apple-darwin" | "aarch64-apple-darwin" => "nebula-darwin", "x86_64-unknown-freebsd" => "nebula-freebsd-amd64", - "x86_64-unknown-linux-gnu" => "nebula-linux-amd64", + "x86_64-unknown-linux-gnu" | "x86_64-unknown-linux-musl" => "nebula-linux-amd64", "armv5te-unknown-linux-gnueabi" => "nebula-linux-arm-5", "arm-unknown-linux-gnueabi" | "arm-unknown-linux-gnueabihf" => "nebula-linux-arm-6", "armv7-unknown-linux-gnueabihf" | "armv7-unknown-linux-gnueabi" => "nebula-linux-arm-7",