mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +01:00
gdbus-object-manager-example: Fix build on Visual Studio
This ensures that we do really export the symbols for Visual Studio-style builds, by using _GLIB_EXTERN to decorate the generated prototypes and including config.h so that we are sure the symbols are actually exported.
This commit is contained in:
parent
d955719f04
commit
a94f32f140
@ -13,6 +13,8 @@ gdbus_example_objectmanager_generated = custom_target('objectmanager-gen',
|
||||
'--output-directory', '@OUTDIR@',
|
||||
'--generate-c-code', 'objectmanager-gen',
|
||||
'--generate-docbook', 'objectmanager-gen',
|
||||
'--symbol-decorator', '_GLIB_EXTERN',
|
||||
'--symbol-decorator-define', 'HAVE_CONFIG_H',
|
||||
'@INPUT@'])
|
||||
|
||||
libgdbus_example_objectmanager = library('gdbus-example-objectmanager',
|
||||
|
Loading…
Reference in New Issue
Block a user