summaryrefslogtreecommitdiff
path: root/tests/libpeas
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libpeas')
-rw-r--r--tests/libpeas/plugins/embedded/meson.build7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/libpeas/plugins/embedded/meson.build b/tests/libpeas/plugins/embedded/meson.build
index c3e1b93..00232bf 100644
--- a/tests/libpeas/plugins/embedded/meson.build
+++ b/tests/libpeas/plugins/embedded/meson.build
@@ -1,5 +1,11 @@
libembedded_name = 'embedded'
+if cc.get_id() == 'msvc' and glib_dep.version() < '2.64.4'
+ libembedded_link_args = ['-export:embedded_register_resource']
+else
+ libembedded_link_args = []
+endif
+
libembedded_public_h = [
'embedded-plugin.h',
]
@@ -34,6 +40,7 @@ libembedded_lib = shared_library(
libembedded_c + libembedded_res,
include_directories: rootdir,
dependencies: libembedded_deps,
+ link_args: libembedded_link_args,
install: false,
)