diff options
| author | Aditya Vidyadhar Kamath <Aditya.Kamath1@ibm.com> | 2025-04-14 07:24:26 -0500 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2025-04-14 17:50:23 +0300 |
| commit | bb776a5fe13d60166488712a40b6f8bde7738e0e (patch) | |
| tree | 72c5683893d2704145df424e3ec5c766778d4ffc /test cases/unit/112 classpath/com/mesonbuild/Simple.java | |
| parent | a2d2d311a16207a1cd65fa18cd2c88ae749db9d8 (diff) | |
| download | meson-bb776a5fe13d60166488712a40b6f8bde7738e0e.tar.gz | |
Fix two shared objects in archive for AIX.
In AIX, when we use ar -q to archive then if there is a shared object already existing with the same name a duplicate one is created if one tries to archive again.
Meson archives shared library during build time and relinks again during install time. At this stage when shared object is again made and archived again, creating two shared objects in the archive.
When we use "ar -rs" then we ensure it is only one.
Reference: https://www.ibm.com/docs/en/aix/7.1?topic=ar-command
This patch is a fix to the same.
Before patch output:
rwxr-xr-x 0/0 5018 Apr 14 05:57 2025 libmylib.so
rwxr-xr-x 0/0 5018 Apr 14 05:58 2025 libmylib.so
After patch output:
rwxr-xr-x 0/0 5018 Apr 14 07:23 2025 libmylib.so
Diffstat (limited to 'test cases/unit/112 classpath/com/mesonbuild/Simple.java')
0 files changed, 0 insertions, 0 deletions
