aboutsummaryrefslogtreecommitdiff
path: root/test cases/common/86 same basename/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/common/86 same basename/meson.build')
-rw-r--r--test cases/common/86 same basename/meson.build8
1 files changed, 3 insertions, 5 deletions
diff --git a/test cases/common/86 same basename/meson.build b/test cases/common/86 same basename/meson.build
index 3dc384e..856c536 100644
--- a/test cases/common/86 same basename/meson.build
+++ b/test cases/common/86 same basename/meson.build
@@ -1,13 +1,11 @@
project('same basename', 'c')
+subdir('sharedsub')
+subdir('staticsub')
+
# Use the same source file to check that each top level target
# has its own unique working directory. If they don't
# then the .o files will clobber each other.
-shlib = shared_library('name', 'lib.c', c_args : '-DSHAR')
-
-# On Windows a static lib is now libfoo.a, so it does not conflict with foo.lib
-# from the shared library above
-stlib = static_library('name', 'lib.c', c_args : '-DSTAT')
exe1 = executable('name', 'exe1.c', link_with : stlib)
exe2 = executable('name2', 'exe2.c', link_with : shlib)