build: Also need to define GST_EXPORTS for Autotools

The change to use GST_EXPORT for symbols under Windows requires
GST_EXPORTS for internal use, and that is also needed under Autotools.
The same thing is done for gstreamer-1.0.dll in -core.
This commit is contained in:
Nirbheek Chauhan 2016-10-28 07:17:56 +05:30 committed by Tim-Philipp Müller
parent d57808385c
commit a3968fa896
2 changed files with 2 additions and 0 deletions

View file

@ -129,6 +129,7 @@ configexecincludedir = $(libdir)/gstreamer-@GST_API_VERSION@/include/gst/gl
nodist_configexecinclude_HEADERS = $(built_sys_header_configure) nodist_configexecinclude_HEADERS = $(built_sys_header_configure)
libgstgl_@GST_API_VERSION@_la_CFLAGS = \ libgstgl_@GST_API_VERSION@_la_CFLAGS = \
-DGST_EXPORTS \
-I$(top_srcdir)/gst-libs \ -I$(top_srcdir)/gst-libs \
-I$(top_builddir)/gst-libs \ -I$(top_builddir)/gst-libs \
$(GST_PLUGINS_BASE_CFLAGS) \ $(GST_PLUGINS_BASE_CFLAGS) \

View file

@ -16,6 +16,7 @@ noinst_HEADERS += gstglcontext_wgl.h
endif endif
libgstgl_win32_la_CFLAGS = \ libgstgl_win32_la_CFLAGS = \
-DGST_EXPORTS \
-I$(top_srcdir)/gst-libs \ -I$(top_srcdir)/gst-libs \
-I$(top_builddir)/gst-libs \ -I$(top_builddir)/gst-libs \
$(GL_CFLAGS) \ $(GL_CFLAGS) \