[Spice-devel] [PATCH spice 1/4] mingw: link with winmm for wave* functions

Marc-André Lureau marcandre.lureau at gmail.com
Fri Jun 29 18:02:18 PDT 2012


---
 client/Makefile.am |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/client/Makefile.am b/client/Makefile.am
index ba3ce76..814c32f 100644
--- a/client/Makefile.am
+++ b/client/Makefile.am
@@ -114,7 +114,7 @@ spicec_SOURCES +=			\
 	windows/win_platform.h		\
 	$(NULL)
 
-spicec_resource_LDADD = windows/redc.o
+spicec_windows_LDADD = windows/redc.o -lwinmm
 
 windows/redc.o: windows/redc.rc
 	$(WINDRES) $< -o $@
@@ -238,7 +238,7 @@ spicec_LDADD =								\
 	$(XRANDR_LIBS)							\
 	$(Z_LIBS)							\
 	$(XINERAMA_LIBS)						\
-	$(spicec_resource_LDADD)					\
+	$(spicec_windows_LDADD)						\
 	$(NULL)
 
 EXTRA_DIST =				\
-- 
1.7.10.2



More information about the Spice-devel mailing list