We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25a58c5 commit def974eCopy full SHA for def974e
libs/net/meson.build
@@ -30,12 +30,17 @@ libgrlnet_inc = include_directories([
30
])
31
32
33
+libgrlnet_cargs = ['-DHAVE_CONFIG_H']
34
+if cc.get_argument_syntax() == 'msvc'
35
+ libgrlnet_cargs += '-D_GRLNET_EXTERN=__declspec(dllexport)'
36
+endif
37
+
38
libgrlnet = shared_library('grlnet-@0@'.format(grl_majorminor),
39
sources: grlnet_sources + grlnet_priv_headers,
40
soversion: soversion,
41
version: grlnet_lt_version,
42
install: true,
- c_args: '-DHAVE_CONFIG_H',
43
+ c_args: libgrlnet_cargs,
44
dependencies: [libsoup_dep, libgrl_dep],
45
include_directories: [libgrl_inc, libgrlnet_inc])
46
0 commit comments