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.
This commit is contained in:
John Ralls 2019-12-10 21:21:02 -08:00
parent c1146db2fe
commit ee448db031

View File

@ -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)