summaryrefslogtreecommitdiff
path: root/loaders
diff options
context:
space:
mode:
authorTom Schoonjans <Tom.Schoonjans@diamond.ac.uk>2019-09-10 09:50:46 +0100
committerChristian Hergert <chergert@redhat.com>2019-10-28 10:11:45 -0700
commit6b8f695ac8acb0f6e39bce76f873398974cd661b (patch)
tree8d3c3960fb2a3b6dcbc48ae5c353a2c55a5c2d26 /loaders
parentd1248f5548524bae66ed3a67ad0a19f20fd56956 (diff)
downloadlibpeas-6b8f695ac8acb0f6e39bce76f873398974cd661b.tar.gz
meson: build loaders as modules instead of shared libraries
Also: ensure that the extension of the loader plugins is set to so on macOS
Diffstat (limited to 'loaders')
-rw-r--r--loaders/lua5.1/meson.build5
-rw-r--r--loaders/python/meson.build5
-rw-r--r--loaders/python3/meson.build5
3 files changed, 9 insertions, 6 deletions
diff --git a/loaders/lua5.1/meson.build b/loaders/lua5.1/meson.build
index 9dfe010..cc44ec8 100644
--- a/loaders/lua5.1/meson.build
+++ b/loaders/lua5.1/meson.build
@@ -27,7 +27,7 @@ lua51_loader_c_args = [
'-DLGI_MICRO_VERSION=@0@'.format(lua51_lgi_version_micro),
]
-lua51_loader_sha = shared_library(
+lua51_loader_sha = shared_module(
lua51_loader_name,
lua51_loader_c + lua51_loader_res,
include_directories: rootdir,
@@ -37,5 +37,6 @@ lua51_loader_sha = shared_library(
install_dir: join_paths(
pkglibdir,
'loaders',
- )
+ ),
+ name_suffix: module_suffix
)
diff --git a/loaders/python/meson.build b/loaders/python/meson.build
index 1629496..215f3ef 100644
--- a/loaders/python/meson.build
+++ b/loaders/python/meson.build
@@ -31,7 +31,7 @@ python2_loader_c_args = [
'-DPYGOBJECT_MICRO_VERSION=@0@'.format(pygobject_version_micro),
]
-python2_loader_sha = shared_library(
+python2_loader_sha = shared_module(
python2_loader_name,
python2_loader_c + python2_loader_res,
include_directories: rootdir,
@@ -41,5 +41,6 @@ python2_loader_sha = shared_library(
install_dir: join_paths(
pkglibdir,
'loaders',
- )
+ ),
+ name_suffix: module_suffix
)
diff --git a/loaders/python3/meson.build b/loaders/python3/meson.build
index 5b350a0..a97c81e 100644
--- a/loaders/python3/meson.build
+++ b/loaders/python3/meson.build
@@ -31,7 +31,7 @@ python3_loader_c_args = [
'-DPYGOBJECT_MICRO_VERSION=@0@'.format(pygobject_version_micro),
]
-python3_loader_sha = shared_library(
+python3_loader_sha = shared_module(
python3_loader_name,
python3_loader_c + python3_loader_res,
include_directories: rootdir,
@@ -41,5 +41,6 @@ python3_loader_sha = shared_library(
install_dir: join_paths(
pkglibdir,
'loaders',
- )
+ ),
+ name_suffix: module_suffix
)