From: Nirbheek Chauhan Date: Mon, 23 May 2016 13:14:01 +0000 (+0530) Subject: gst/parse: Also pass -DGST_EXPORTS here X-Git-Tag: 1.10.4~244 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1c8711816ead2e4d5e7da20b216096955aa49cfd;p=platform%2Fupstream%2Fgstreamer.git 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/ --- diff --git a/gst/parse/Makefile.am b/gst/parse/Makefile.am index bb873aa..844349a 100644 --- a/gst/parse/Makefile.am +++ b/gst/parse/Makefile.am @@ -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