From 814696a3c86e5523a2d18be5a3fb5f5c5f4a81d8 Mon Sep 17 00:00:00 2001 From: mreid-tt <943378+mreid-tt@users.noreply.github.com> Date: Fri, 2 Aug 2024 18:28:31 -0400 Subject: [PATCH] Patch for mysqlclient-sys --- cross/diesel/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cross/diesel/Makefile b/cross/diesel/Makefile index 9d3a2811747..74f23375f5d 100644 --- a/cross/diesel/Makefile +++ b/cross/diesel/Makefile @@ -18,7 +18,8 @@ LICENSE = MIT # build the cli tool for mysql RUST_SRC_DIR = $(WORK_DIR)/$(PKG_DIR)/diesel_cli CARGO_BUILD_ARGS += --no-default-features -CARGO_BUILD_ARGS += --features=mysql +# patch based on https://github.com/diesel-rs/diesel/issues/4056 +CARGO_BUILD_ARGS += --features=mysql,mysqlclient-sys/buildtime_bindgen # we support MariaDB 10 only # we must define the mysql db socket, since the rust binaries (mysqlclient-sys)