diff options
| author | Eli Schwartz <eschwartz@archlinux.org> | 2022-02-17 14:19:16 -0500 |
|---|---|---|
| committer | Eli Schwartz <eschwartz@archlinux.org> | 2022-02-17 14:48:28 -0500 |
| commit | a3e4272bd328778c1d35fd0f688fa29eef6a01f4 (patch) | |
| tree | 286514fa780724036c28061c0b9282fd284bbe07 /test cases/common/73 shared subproject 2/subprojects/C | |
| parent | 58c124d48a278e0d428cc4ecb3883b7ba5f55565 (diff) | |
| download | meson-a3e4272bd328778c1d35fd0f688fa29eef6a01f4.tar.gz | |
test cases: rename shared library('c') avoid libc collision
In a bunch of cases we create a series of sample libraries named "a",
"b", "c" etc.
This breaks on musl. Originally reported with muon via commit
https://git.sr.ht/~lattis/muon/commit/ca5c37171423e9884047a85349e1b236d7449510
and also breaks the testsuite when packaging meson for alpine linux.
libc.so is an existing library which is linked in by default for all the
obvious reasons. You can get away with this on glibc, because that
includes a soversion of "6", but it loads the wrong library on musl.
Diffstat (limited to 'test cases/common/73 shared subproject 2/subprojects/C')
| -rw-r--r-- | test cases/common/73 shared subproject 2/subprojects/C/meson.build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test cases/common/73 shared subproject 2/subprojects/C/meson.build b/test cases/common/73 shared subproject 2/subprojects/C/meson.build index 5d890977e..1f05f9ea9 100644 --- a/test cases/common/73 shared subproject 2/subprojects/C/meson.build +++ b/test cases/common/73 shared subproject 2/subprojects/C/meson.build @@ -1,2 +1,3 @@ project('C', 'c') -c = library('c', 'c.c') +# libc.so cannot be used, it already exists as a reserved name +c = library('cee', 'c.c') |
