mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
gst/parse: Also pass -DGST_EXPORTS here
This static library gets included directly into libgstreamer-1.0.so, so it needs the same GST_EXPORTS definition as the rest of the code that's compiled into that otherwise it will try to find the constants it uses from gstinfo via DLL importing (__declspec(dllimport)). Fixes https://ci.gstreamer.net/job/cerbero-cross-mingw32/4393/
This commit is contained in:
parent
161eee6694
commit
1c8711816e
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ EXTRA_DIST = \
|
|||
nodist_libgstparse_la_SOURCES = lex.priv_gst_parse_yy.c grammar.tab.c grammar.tag.h parse_lex.h
|
||||
CLEANFILES += grammar.tab.c lex.priv_gst_parse_yy.c
|
||||
|
||||
libgstparse_la_CFLAGS = $(GST_ALL_CFLAGS) -DYYMALLOC=g_malloc -DYYFREE=g_free
|
||||
libgstparse_la_CFLAGS = $(GST_ALL_CFLAGS) -DGST_EXPORTS -DYYMALLOC=g_malloc -DYYFREE=g_free
|
||||
libgstparse_la_LIBADD = $(GST_ALL_LIBS)
|
||||
|
||||
noinst_HEADERS = types.h
|
||||
|
|
Loading…
Reference in a new issue