summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Hergert <chergert@redhat.com>2023-03-21 12:11:03 -0700
committerChristian Hergert <chergert@redhat.com>2023-03-22 16:44:45 -0700
commitd49bcadf159501bec166304825047d2c1ea9b915 (patch)
tree320c7e0100dc28eef935fa42a94ac6bb6eab6c1b
parent0a7d7526e19790613bcbd6b6b050bca79c585db2 (diff)
downloadlibpeas-d49bcadf159501bec166304825047d2c1ea9b915.tar.gz
plugins/lua51: fix symbol visibility
-rw-r--r--loaders/lua5.1/meson.build3
-rw-r--r--loaders/lua5.1/resources/meson.build2
2 files changed, 3 insertions, 2 deletions
diff --git a/loaders/lua5.1/meson.build b/loaders/lua5.1/meson.build
index 93e836d..a933316 100644
--- a/loaders/lua5.1/meson.build
+++ b/loaders/lua5.1/meson.build
@@ -38,5 +38,6 @@ lua51_loader_sha = shared_module(
pkglibdir,
'loaders',
),
- name_suffix: module_suffix
+ name_suffix: module_suffix,
+ gnu_symbol_visibility: 'hidden',
)
diff --git a/loaders/lua5.1/resources/meson.build b/loaders/lua5.1/resources/meson.build
index 8f7f6c6..e861adb 100644
--- a/loaders/lua5.1/resources/meson.build
+++ b/loaders/lua5.1/resources/meson.build
@@ -1,5 +1,5 @@
lua51_loader_res = gnome.compile_resources(
'peas-lua-resources',
'peas-lua.gresource.xml',
- export: true,
+ export: false,
)