<html><head></head><body>Hi,<br><br>That's not how symbol resolution normally works... Are you sure?<br><br><div class="gmail_quote">Le 2 août 2019 14:59:13 GMT+03:00, Marvin Scholz <epirat07@gmail.com> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">It is not needed to load the symbols using dlsym here, they will be<br>automatically available if the OS version is recent enough or NULL if<br>not.<hr> modules/audio_output/coreaudio_common.c | 4 ++--<br> 1 file changed, 2 insertions(+), 2 deletions(-)<br><br>diff --git a/modules/audio_output/coreaudio_common.c b/modules/audio_output/coreaudio_common.c<br>index 3a9ec69113..836a5f6de4 100644<br>--- a/modules/audio_output/coreaudio_common.c<br>+++ b/modules/audio_output/coreaudio_common.c<br>@@ -63,10 +63,10 @@ ca_ClearOutBuffers(audio_output_t *p_aout)<br> static void<br> ca_init_once(void)<br> {<br>- unfair_lock.lock = dlsym(RTLD_DEFAULT, "os_unfair_lock_lock");<br>+ unfair_lock.lock = os_unfair_lock_lock;<br> if (!unfair_lock.lock)<br> return;<br>- unfair_lock.unlock = dlsym(RTLD_DEFAULT, "os_unfair_lock_unlock");<br>+ unfair_lock.unlock = os_unfair_lock_unlock;<br> if (!unfair_lock.unlock)<br> unfair_lock.lock = NULL;<br> </pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>