[xiph-cvs] cvs commit: ao/src ao_private.h

Jack Moffitt jack at xiph.org
Thu Dec 6 17:45:28 PST 2001



jack        01/12/06 17:45:27

  Modified:    src      ao_private.h
  Log:
  ALSA requires RTLD_GLOBAL for dlopen().

Revision  Changes    Path
1.5       +5 -2      ao/src/ao_private.h

Index: ao_private.h
===================================================================
RCS file: /usr/local/cvsroot/ao/src/ao_private.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ao_private.h	2001/08/31 16:10:32	1.4
+++ ao_private.h	2001/12/07 01:45:27	1.5
@@ -38,9 +38,12 @@
 #endif
 
 /* RTLD_NOW is the preferred symbol resolution behavior, but
-   some platforms do not support it. */
+ * some platforms do not support it. 
+ *
+ * ALSA requires RTLD_GLOBAL.
+ */
 #if defined(__OpenBSD__)	
-#define DLOPEN_FLAG RTLD_LAZY
+#define DLOPEN_FLAG (RTLD_LAZY | RTLD_GLOBAL)
 #else
 #define DLOPEN_FLAG (RTLD_NOW | RTLD_GLOBAL)
 #endif

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list