From 75da834e4afab83bb385ff767a5c8bdf3abc48c1 Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Sun, 11 Feb 2024 15:34:46 +0100 Subject: [PATCH] Link native libraries (#7) * Link OpenXR loader at build time Signed-off-by: Sefa Eyeoglu * Link fontconfig at build time Signed-off-by: Sefa Eyeoglu --------- Signed-off-by: Sefa Eyeoglu --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d995815..e4f93a5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ chrono-tz = "0.8.5" cstr = "0.2.11" ctrlc = { version = "3.4.2", features = ["termination"] } env_logger = "0.10.0" -fontconfig-rs = { version = "0.1.1", features = ["dlopen"] } +fontconfig-rs = "0.1.1" freetype-rs = "0.32.0" futures = "0.3.29" glam = { version = "0.24.1", features = ["approx"] } @@ -29,7 +29,7 @@ json = { version = "0.12.4", optional = true } libc = "0.2.147" log = "0.4.20" once_cell = "1.18.0" -openxr = { version = "0.17.1", optional = true } +openxr = { version = "0.17.1", features = ["linked"], optional = true } ovr_overlay = { features = ["ovr_input", "ovr_system"], git = "https://github.com/galister/ovr_overlay_oyasumi", optional = true } png = "0.17.10" raw-window-handle = "0.5.2"