directsound: Fix DLL name to match plugin name

https://bugzilla.gnome.org/show_bug.cgi?id=785168
This commit is contained in:
Nicolas Dufresne 2017-07-20 10:38:32 -04:00
parent 7bd439efb5
commit 608abe4a7f
3 changed files with 9 additions and 8 deletions

View file

@ -65,6 +65,7 @@ CRUFT_FILES = \
$(top_builddir)/gst/videofilter/.libs/*videoflip.{so,dll,DLL,dylib} \ $(top_builddir)/gst/videofilter/.libs/*videoflip.{so,dll,DLL,dylib} \
$(top_builddir)/gst/videofilter/.libs/*videobalance.{so,dll,DLL,dylib} \ $(top_builddir)/gst/videofilter/.libs/*videobalance.{so,dll,DLL,dylib} \
$(top_builddir)/gst/videofilter/.libs/*gamma.{so,dll,DLL,dylib} \ $(top_builddir)/gst/videofilter/.libs/*gamma.{so,dll,DLL,dylib} \
$(top_builddir)/sys/directsound/.libs/libgstdirectsoundsink.{dll,DLL} \
$(top_builddir)/sys/oss4/.libs/libgstoss4audio.so $(top_builddir)/sys/oss4/.libs/libgstoss4audio.so
CRUFT_DIRS = \ CRUFT_DIRS = \

View file

@ -1,17 +1,17 @@
plugin_LTLIBRARIES = libgstdirectsoundsink.la plugin_LTLIBRARIES = libgstdirectsound.la
libgstdirectsoundsink_la_SOURCES = gstdirectsoundsink.c gstdirectsoundplugin.c libgstdirectsound_la_SOURCES = gstdirectsound.c gstdirectsoundplugin.c
libgstdirectsoundsink_la_CFLAGS = \ libgstdirectsound_la_CFLAGS = \
$(GST_PLUGINS_BASE_CFLAGS) \ $(GST_PLUGINS_BASE_CFLAGS) \
$(GST_BASE_CFLAGS) \ $(GST_BASE_CFLAGS) \
$(GST_CFLAGS) \ $(GST_CFLAGS) \
$(DIRECTSOUND_CFLAGS) $(DIRECTSOUND_CFLAGS)
libgstdirectsoundsink_la_LIBADD = \ libgstdirectsound_la_LIBADD = \
$(GST_PLUGINS_BASE_LIBS) \ $(GST_PLUGINS_BASE_LIBS) \
-lgstaudio-$(GST_API_VERSION) \ -lgstaudio-$(GST_API_VERSION) \
$(GST_BASE_LIBS) \ $(GST_BASE_LIBS) \
$(GST_LIBS) \ $(GST_LIBS) \
$(DIRECTSOUND_LIBS) $(DIRECTSOUND_LIBS)
libgstdirectsoundsink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(DIRECTSOUND_LDFLAGS) libgstdirectsound_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(DIRECTSOUND_LDFLAGS)
noinst_HEADERS = gstdirectsoundsink.h noinst_HEADERS = gstdirectsoundsink.h

View file

@ -6,7 +6,7 @@ directsoundsink_sources = [
if host_machine.system() == 'windows' and cc.has_header('dsound.h') if host_machine.system() == 'windows' and cc.has_header('dsound.h')
directsoundsink_dep = [cc.find_library('dsound'), cc.find_library('winmm'), cc.find_library('ole32')] directsoundsink_dep = [cc.find_library('dsound'), cc.find_library('winmm'), cc.find_library('ole32')]
gstdirectsoundsink = library('gstdirectsoundsink', gstdirectsoundsink = library('gstdirectsound',
directsoundsink_sources, directsoundsink_sources,
c_args : gst_plugins_good_args, c_args : gst_plugins_good_args,
include_directories : [configinc], include_directories : [configinc],