shared/nm-glib-aux: don't use RTLD_DEEPBIND on musl

[thaller@redhat.com: original patch modified]
This commit is contained in:
Rasmus Thomsen 2020-07-09 17:04:28 +02:00 committed by Thomas Haller
parent 712516f2ac
commit d38b5d92ee
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -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)
{