From a3968fa896dbb6bcd04eecb0dbe768987fe39912 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Fri, 28 Oct 2016 07:17:56 +0530 Subject: [PATCH] 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. --- gst-libs/gst/gl/Makefile.am | 1 + gst-libs/gst/gl/win32/Makefile.am | 1 + 2 files changed, 2 insertions(+) diff --git a/gst-libs/gst/gl/Makefile.am b/gst-libs/gst/gl/Makefile.am index 5572d2d7a0..196bdeed61 100644 --- a/gst-libs/gst/gl/Makefile.am +++ b/gst-libs/gst/gl/Makefile.am @@ -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) \ diff --git a/gst-libs/gst/gl/win32/Makefile.am b/gst-libs/gst/gl/win32/Makefile.am index 40f591c08a..ed3cc6320d 100644 --- a/gst-libs/gst/gl/win32/Makefile.am +++ b/gst-libs/gst/gl/win32/Makefile.am @@ -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) \