aboutsummaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2023-07-08 15:56:08 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2023-07-10 23:12:24 +0300
commitcd63853ad2928023ea045fb331866d547e9f49fc (patch)
tree074be964c4efa8e6903d71edeb0db6c8f728241e /unittests
parentad13d9f4a3e90fbe05544c28437090f155d8994b (diff)
downloadmeson-cd63853ad2928023ea045fb331866d547e9f49fc.zip
meson-cd63853ad2928023ea045fb331866d547e9f49fc.tar.gz
meson-cd63853ad2928023ea045fb331866d547e9f49fc.tar.bz2
build: Fix linking multiple libraries and some are promoted
When a link() is promoted to link_whole() we still have to handle the rest of the list. Fixes: #11956
Diffstat (limited to 'unittests')
-rw-r--r--unittests/linuxliketests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/unittests/linuxliketests.py b/unittests/linuxliketests.py
index 4bb6809..745ee35 100644
--- a/unittests/linuxliketests.py
+++ b/unittests/linuxliketests.py
@@ -1845,3 +1845,4 @@ class LinuxlikeTests(BasePlatformTests):
self.assertIn('build t4-e1: c_LINKER t4-e1.p/main.c.o | libt4-s2.so.p/libt4-s2.so.symbols libt4-s3.a\n', content)
self.assertIn('build t5-e1: c_LINKER t5-e1.p/main.c.o | libt5-s1.so.p/libt5-s1.so.symbols libt5-s3.a\n', content)
self.assertIn('build t6-e1: c_LINKER t6-e1.p/main.c.o | libt6-s2.a libt6-s3.a\n', content)
+ self.assertIn('build t7-e1: c_LINKER t7-e1.p/main.c.o | libt7-s3.a\n', content)