mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-25 07:26:29 +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
|
#endif
|
||||||
|
|
||||||
#ifndef GST_DISABLE_GST_DEBUG
|
#ifndef GST_DISABLE_GST_DEBUG
|
||||||
extern const gchar *priv_gst_dump_dot_dir;
|
const gchar *priv_gst_dump_dot_dir;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* defaults */
|
/* defaults */
|
||||||
|
|
|
@ -54,7 +54,7 @@
|
||||||
|
|
||||||
/*** PIPELINE GRAPHS **********************************************************/
|
/*** 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[] = {
|
const gchar spaces[] = {
|
||||||
" " /* 32 */
|
" " /* 32 */
|
||||||
|
|
Loading…
Reference in a new issue