diff --git a/test cases/common/86 same basename/meson.build b/test cases/common/86 same basename/meson.build index e320f954f..3dc384ee7 100644 --- a/test cases/common/86 same basename/meson.build +++ b/test cases/common/86 same basename/meson.build @@ -5,10 +5,9 @@ project('same basename', 'c') # then the .o files will clobber each other. shlib = shared_library('name', 'lib.c', c_args : '-DSHAR') -# On Windows a static lib is a foo.lib but a share library -# is both a foo.dll and a foo.lib. Put static in subdir to avoid -# name clashes. -subdir('sub') +# 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) diff --git a/test cases/common/86 same basename/sub/meson.build b/test cases/common/86 same basename/sub/meson.build deleted file mode 100644 index 07250a583..000000000 --- a/test cases/common/86 same basename/sub/meson.build +++ /dev/null @@ -1 +0,0 @@ -stlib = static_library('name', '../lib.c', c_args : '-DSTAT')