aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/build.py
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2019-07-15 10:29:49 +0400
committerJussi Pakkanen <jpakkane@gmail.com>2019-07-17 19:19:56 +0300
commit341d245e6841bbdadddb89450731a6dbae8b7fe2 (patch)
tree40e42eda63af5d78917f1816a9febe06114d2e4d /mesonbuild/build.py
parentf5da88112667fddb991ee455c051c9453b2542c1 (diff)
downloadmeson-341d245e6841bbdadddb89450731a6dbae8b7fe2.zip
meson-341d245e6841bbdadddb89450731a6dbae8b7fe2.tar.gz
meson-341d245e6841bbdadddb89450731a6dbae8b7fe2.tar.bz2
Accept vs_module_defs for modules
Like shared libraries, modules may have vs_module_defs. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'mesonbuild/build.py')
-rw-r--r--mesonbuild/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py
index 2e23a59..d5814ff 100644
--- a/mesonbuild/build.py
+++ b/mesonbuild/build.py
@@ -91,7 +91,7 @@ known_build_target_kwargs = (
known_exe_kwargs = known_build_target_kwargs | {'implib', 'export_dynamic', 'link_language', 'pie'}
known_shlib_kwargs = known_build_target_kwargs | {'version', 'soversion', 'vs_module_defs', 'darwin_versions'}
-known_shmod_kwargs = known_build_target_kwargs
+known_shmod_kwargs = known_build_target_kwargs | {'vs_module_defs'}
known_stlib_kwargs = known_build_target_kwargs | {'pic'}
known_jar_kwargs = known_exe_kwargs | {'main_class'}