From 1b3f8b29bc434c2f52fcbf371c893cf0e99f8f5c Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sun, 2 Apr 2023 22:27:07 +0100 Subject: [PATCH] meson: restrict most libMangoHud.so symbols With the introduction of the static library, we forgot the version script. As a result we were spilling all the internal symbols. Fixes: d4aa74c ("Create static and shared libs separately") Closes: https://github.com/flightlessmango/MangoHud/issues/933 Signed-off-by: Emil Velikov --- src/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/src/meson.build b/src/meson.build index c5eebf5f..23e4bc12 100644 --- a/src/meson.build +++ b/src/meson.build @@ -183,6 +183,7 @@ mangohud_shared_lib = shared_library( 'MangoHud', objects: mangohud_static_lib.extract_all_objects(), link_with: mangohud_static_lib, + link_args : link_args, install_dir : libdir_mangohud, install: true )