[Rpm-maint] [rpm-software-management/rpm] Don't use _nl_msg_cat_cntr if __GLIC__ is not defined (PR #2856)

pastalian notifications at github.com
Thu Jan 18 10:16:15 UTC 2024


musl doesn't need to use libintl from GNU gettext because it has its own NLS implementation. Assuming _nl_msg_cat_cntr exists breaks the build against the musl system.

```
/usr/lib/gcc/x86_64-gentoo-linux-musl/13/../../../../x86_64-gentoo-linux-musl/bin/ld: ../lib/librpm.so.10.0.1: undefined reference to `_nl_msg_cat_cntr'
collect2: error: ld returned 1 exit status
```
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/2856

-- Commit Summary --

  * Don't use _nl_msg_cat_cntr if __GLIC__ is not defined

-- File Changes --

    M lib/tagexts.c (6)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/2856.patch
https://github.com/rpm-software-management/rpm/pull/2856.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2856
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2856 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240118/ccc07859/attachment.html>


More information about the Rpm-maint mailing list