From cbdbf0de76e29fc0a380f81f16e3fd451d3d604d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com> Date: Sun, 26 Feb 2023 22:31:33 +0000 Subject: [PATCH] Revert "feat: conditional features for SDL2 for Linux" This reverts commit b7ce4b6a380795d6dd99f8a1673f80f6bbb43b59. --- frontends/sdl/Cargo.toml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/frontends/sdl/Cargo.toml b/frontends/sdl/Cargo.toml index 870f8acb..bf9b641b 100644 --- a/frontends/sdl/Cargo.toml +++ b/frontends/sdl/Cargo.toml @@ -11,10 +11,8 @@ edition = "2018" path = "../.." [dependencies.sdl2] -sdl2 = { version = "0.35", features = ["ttf", "image", "gfx", "mixer", "static-link", "use-vcpkg"] } - -[target.'cfg(linux)'.dependencies] -sdl2 = { version = "0.35", features = ["ttf", "image", "gfx", "mixer", "bundled"] } +version = "0.35" +features = ["ttf", "image", "gfx", "mixer", "static-link", "use-vcpkg"] # If the vcpkg version of SDL2 does not work (eg: display not found error) # then try dynamic linking SDL2 using the following features -- GitLab