diff options
author | Xavier Claessens <xavier.claessens@collabora.com> | 2023-07-10 13:21:41 -0400 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2023-07-10 23:12:24 +0300 |
commit | 1fef03c0f04e86300bee5ff3f628752d9e27304d (patch) | |
tree | da30cc605ac56797cfa20fb7fdb2cfa87d8d55f7 /unittests | |
parent | cd63853ad2928023ea045fb331866d547e9f49fc (diff) | |
download | meson-1fef03c0f04e86300bee5ff3f628752d9e27304d.zip meson-1fef03c0f04e86300bee5ff3f628752d9e27304d.tar.gz meson-1fef03c0f04e86300bee5ff3f628752d9e27304d.tar.bz2 |
build: dependencies should come after link_with on link command
This fixes regression caused by
https://github.com/mesonbuild/meson/commit/3162b901cab46d66a30c66a4406195523714ecdc
that changes the order in which libraries are put on the link command.
In addition, that commit was wrong because libraries from dependencies
were processed before process_compiler() is called, which that commit
wanted to avoid.
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/linuxliketests.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unittests/linuxliketests.py b/unittests/linuxliketests.py index 745ee35..f322b02 100644 --- a/unittests/linuxliketests.py +++ b/unittests/linuxliketests.py @@ -1846,3 +1846,4 @@ class LinuxlikeTests(BasePlatformTests): 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) + self.assertIn('build t8-e1: c_LINKER t8-e1.p/main.c.o | libt8-s1.a libt8-s2.a libt8-s3.a\n', content) |