From 5daef8a53d92df86d94fa9d28e72b7dad3f0b04b Mon Sep 17 00:00:00 2001 From: Tim-Philipp Müller Date: Tue, 15 May 2007 17:22:58 +0000 Subject: Add DIRECTDRAW_CFLAGS and DIRECTSOUND_CFLAGS to Makefile.am; save and restore the various flags in the directdraw/dir... Original commit message from CVS: * configure.ac: * sys/directdraw/Makefile.am: * sys/directsound/Makefile.am: Add DIRECTDRAW_CFLAGS and DIRECTSOUND_CFLAGS to Makefile.am; save and restore the various flags in the directdraw/directsound detection section. Apparently improves cross-compiling for win32 with mingw32 under some circumstances (#437539). --- sys/directsound/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/directsound') diff --git a/sys/directsound/Makefile.am b/sys/directsound/Makefile.am index b8b26469..3b24de62 100644 --- a/sys/directsound/Makefile.am +++ b/sys/directsound/Makefile.am @@ -2,8 +2,8 @@ plugin_LTLIBRARIES = libgstdirectsoundsink.la libgstdirectsoundsink_la_SOURCES = gstdirectsoundsink.c gstdirectsoundplugin.c libgstdirectsoundsink_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) + $(GST_PLUGINS_BASE_CFLAGS) $(DIRECTSOUND_CFLAGS) libgstdirectsoundsink_la_LIBADD = $(DIRECTSOUND_LIBS) \ $(GST_BASE_LIBS) $(GST_PLUGINS_BASE_LIBS) \ -lgstaudio-$(GST_MAJORMINOR) -lgstinterfaces-$(GST_MAJORMINOR) -libgstdirectsoundsink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) +libgstdirectsoundsink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(DIRECTSOUND_LDFLAGS) -- cgit