From 1a4ea53b4595aae8d79eca62a411484b074812c0 Mon Sep 17 00:00:00 2001 From: Ahajha Date: Thu, 25 Apr 2024 13:55:48 -0400 Subject: [PATCH] Remove -Wl,--as-needed --- recipes/sdl_image/all/conanfile.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/recipes/sdl_image/all/conanfile.py b/recipes/sdl_image/all/conanfile.py index 284aaccec4468..8272b452a601f 100644 --- a/recipes/sdl_image/all/conanfile.py +++ b/recipes/sdl_image/all/conanfile.py @@ -166,8 +166,6 @@ def generate(self): tc.variables["SDL2IMAGE_XV"] = self.options.xv tc.variables["SDL2IMAGE_BACKEND_WIC"] = self.options.get_safe("wic") tc.variables["SDL2IMAGE_BACKEND_IMAGEIO"] = self.options.get_safe("imageio") - if not is_apple_os(self): - tc.variables["CMAKE_SHARED_LINKER_FLAGS_INIT"] = '-Wl,--as-needed' tc.generate() cd = CMakeDeps(self) cd.generate()