[amtk/meson-msvc: 19/22] amtk/meson.build: Fix exporting from enumeration sources
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [amtk/meson-msvc: 19/22] amtk/meson.build: Fix exporting from enumeration sources
- Date: Wed, 1 Jul 2020 08:29:04 +0000 (UTC)
commit 01e8f23c4580f4636b50713d2ec7b01e3f1b85d7
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Fri May 8 14:05:08 2020 +0800
amtk/meson.build: Fix exporting from enumeration sources
Make sure we decorate the symbols in the header with_AMTK_EXTERN, and we
include the needed header for it.
amtk/meson.build | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/amtk/meson.build b/amtk/meson.build
index 585938c..d7f114e 100644
--- a/amtk/meson.build
+++ b/amtk/meson.build
@@ -30,7 +30,12 @@ amtk_sources = files(
'amtk-utils.c',
)
-amtk_enums = gnome.mkenums_simple('amtk-enum-types', sources : amtk_public_headers)
+amtk_enums = gnome.mkenums_simple(
+ 'amtk-enum-types',
+ decorator: '_AMTK_EXTERN',
+ header_prefix: '#include <amtk/amtk-types.h>',
+ sources : amtk_public_headers
+)
amtk_conf = configuration_data()
amtk_conf.set_quoted('GETTEXT_PACKAGE', 'amtk-5')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]