build: Also need to define GST_EXPORTS for Autotools
authorNirbheek Chauhan <nirbheek@centricular.com>
Fri, 28 Oct 2016 01:47:56 +0000 (07:17 +0530)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:23 +0000 (19:32 +0000)
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.

gst-libs/gst/gl/Makefile.am
gst-libs/gst/gl/win32/Makefile.am

index 5572d2d..196bdee 100644 (file)
@@ -129,6 +129,7 @@ configexecincludedir = $(libdir)/gstreamer-@GST_API_VERSION@/include/gst/gl
 nodist_configexecinclude_HEADERS = $(built_sys_header_configure)
 
 libgstgl_@GST_API_VERSION@_la_CFLAGS = \
+       -DGST_EXPORTS \
        -I$(top_srcdir)/gst-libs \
        -I$(top_builddir)/gst-libs \
        $(GST_PLUGINS_BASE_CFLAGS) \
index 40f591c..ed3cc63 100644 (file)
@@ -16,6 +16,7 @@ noinst_HEADERS += gstglcontext_wgl.h
 endif
 
 libgstgl_win32_la_CFLAGS = \
+       -DGST_EXPORTS \
        -I$(top_srcdir)/gst-libs \
        -I$(top_builddir)/gst-libs \
        $(GL_CFLAGS) \