mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-04 15:21:12 +00:00
shared/nm-glib-aux: don't use RTLD_DEEPBIND on musl
[thaller@redhat.com: original patch modified]
This commit is contained in:
parent
712516f2ac
commit
d38b5d92ee
|
@ -11,6 +11,16 @@
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
/* If RTLD_DEEPBIND isn't available just ignore it. This can cause problems
|
||||
* with jansson, json-glib, and cjson symbols clashing (and as such crashing the
|
||||
* program). But that needs to be fixed by the json libraries, and it is by adding
|
||||
* symbol versioning in recent versions. */
|
||||
#ifndef RTLD_DEEPBIND
|
||||
#define RTLD_DEEPBIND 0
|
||||
#endif
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
static void
|
||||
_gstr_append_string_len(GString *gstr, const char *str, gsize len)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue