gplugin/gplugin

Parents 1195da375abd
Children d1991f8593ff
Don't explicitly use shared_library on gplugin, gplugin-gtk3, and gplugin-gtk4

By just using the library function meson can choose to static link these into
another target.

Testing Done:
Did intial testing in the pidgin tree by hacking `gplugin/meson.build` and used `ldd` to verify that gplugin was staticly linked and that plugins still worked.

Reviewed at https://reviews.imfreedom.org/r/1346/
--- a/gplugin-gtk3/meson.build Sun Jan 30 04:10:11 2022 -0600
+++ b/gplugin-gtk3/meson.build Mon Mar 14 21:23:09 2022 -0500
@@ -78,7 +78,7 @@
###############################################################################
# Library Target
###############################################################################
-gplugin_gtk3 = shared_library('gplugin-gtk3',
+gplugin_gtk3 = library('gplugin-gtk3',
GPLUGIN_GTK3_SOURCES,
GPLUGIN_GTK3_HEADERS,
GPLUGIN_GTK3_PRIVATE_SOURCES,
--- a/gplugin-gtk4/meson.build Sun Jan 30 04:10:11 2022 -0600
+++ b/gplugin-gtk4/meson.build Mon Mar 14 21:23:09 2022 -0500
@@ -64,7 +64,7 @@
###############################################################################
# Library Target
###############################################################################
-gplugin_gtk4 = shared_library('gplugin-gtk4',
+gplugin_gtk4 = library('gplugin-gtk4',
GPLUGIN_GTK4_SOURCES,
GPLUGIN_GTK4_HEADERS,
GPLUGIN_GTK4_PRIVATE_SOURCES,
--- a/gplugin/meson.build Sun Jan 30 04:10:11 2022 -0600
+++ b/gplugin/meson.build Mon Mar 14 21:23:09 2022 -0500
@@ -148,7 +148,7 @@
###############################################################################
# Library target
###############################################################################
-gplugin = shared_library('gplugin',
+gplugin = library('gplugin',
GPLUGIN_SOURCES,
GPLUGIN_NATIVE_SOURCES,
GPLUGIN_PUBLIC_BUILT_SOURCES,