build: Fix symbol visibility issue in shared module 19/325519/1
authorSeunghun Lee <shiin.lee@samsung.com>
Wed, 11 Jun 2025 07:54:49 +0000 (16:54 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Wed, 11 Jun 2025 08:39:55 +0000 (17:39 +0900)
This adds --export-dynamic linker option to ensure all intended symbols
are exported from the shared module.

Change-Id: Ib7ce31161283913d874129b70ec70bc6e0c157b5

src/modules/meson.build

index 06027a7fe7d3db345d851532a599e1f01ca42597..864e3e8ebaa40623c9b431821d2047a63db6d6f8 100644 (file)
@@ -20,6 +20,6 @@ foreach m: mods
     dependencies       : [ module_deps ],
     install_dir        : _dir_bin,
     install            : true,
-    link_args          : '-Wl,--unresolved-symbols=ignore-all'
+    link_args          : '-Wl,--unresolved-symbols=ignore-all,--export-dynamic',
   )
 endforeach