debugutils: Fix static linking on OS X

The linking behaviour of external variables that are not initialized
in the compilation unit where they are defined is undefined. On OS X
this causes a linking failure when statically linking GStreamer.
This commit is contained in:
Josep Torra 2012-05-25 10:28:40 +02:00 committed by Sebastian Dröge
parent 7bfa95d179
commit e2ba0db760
2 changed files with 2 additions and 2 deletions

View file

@ -138,7 +138,7 @@ extern gboolean _priv_gst_disable_registry_update;
#endif
#ifndef GST_DISABLE_GST_DEBUG
extern const gchar *priv_gst_dump_dot_dir;
const gchar *priv_gst_dump_dot_dir;
#endif
/* defaults */

View file

@ -54,7 +54,7 @@
/*** PIPELINE GRAPHS **********************************************************/
const gchar *priv_gst_dump_dot_dir; /* NULL *//* set from gst.c */
extern const gchar *priv_gst_dump_dot_dir; /* NULL *//* set from gst.c */
const gchar spaces[] = {
" " /* 32 */