[gtk/gtk-3-24] Force the loadable module suffix on the print backend modules.
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24] Force the loadable module suffix on the print backend modules.
- Date: Wed, 11 Dec 2019 05:48:02 +0000 (UTC)
commit ee448db031e79b13afd780f39ea14b3a7dd4bb73
Author: John Ralls <jralls ceridwen us>
Date: Tue Dec 10 21:21:02 2019 -0800
Force the loadable module suffix on the print backend modules.
On MacOS the shared library and loadable module suffix is different.
While dlopen will load a shared module just fine, Gtk's loader and
query tools don't know to look for them so it's important to give
loadable modules the .so suffix.
modules/printbackends/meson.build | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/modules/printbackends/meson.build b/modules/printbackends/meson.build
index 7ffe671c4b..277c5c9c7b 100644
--- a/modules/printbackends/meson.build
+++ b/modules/printbackends/meson.build
@@ -111,6 +111,7 @@ if print_backends.contains('file')
'file/gtkprintbackendfile.c',
c_args: printbackends_args,
dependencies: libgtk_dep,
+ name_suffix: module_suffix,
install_dir: printbackends_install_dir,
name_suffix: module_suffix,
install : true)
@@ -121,6 +122,7 @@ if print_backends.contains('lpr')
'lpr/gtkprintbackendlpr.c',
c_args: printbackends_args,
dependencies: libgtk_dep,
+ name_suffix: module_suffix,
install_dir: printbackends_install_dir,
name_suffix: module_suffix,
install : true)
@@ -131,6 +133,7 @@ if print_backends.contains('test')
'test/gtkprintbackendtest.c',
c_args: printbackends_args,
dependencies: libgtk_dep,
+ name_suffix: module_suffix,
install_dir: printbackends_install_dir,
name_suffix: module_suffix,
install : true)
@@ -143,6 +146,7 @@ if print_backends.contains('cloudprint')
'cloudprint/gtkcloudprintaccount.c',
c_args: printbackends_args,
dependencies: [ libgtk_dep, rest_dep, json_glib_dep ],
+ name_suffix: module_suffix,
install_dir: printbackends_install_dir,
name_suffix: module_suffix,
install : true)
@@ -156,6 +160,7 @@ if print_backends.contains('cups')
'cups/gtkcupssecretsutils.c',
c_args: printbackends_args,
dependencies: [libgtk_dep, cups_dep] + cups_extra_deps,
+ name_suffix: module_suffix,
install_dir: printbackends_install_dir,
name_suffix: module_suffix,
install : true)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]