mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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:
parent
4ebe1c0b78
commit
d06c7dc6fd
2 changed files with 2 additions and 2 deletions
|
@ -139,7 +139,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 */
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue