[vlc-commits] Win32: fix directdraw linking

Jean-Baptiste Kempf git at videolan.org
Tue May 17 13:29:14 CEST 2016


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue May 17 13:28:02 2016 +0200| [eed0aabcaff861a1ae729c567ac0efa936a59a1f] | committer: Jean-Baptiste Kempf

Win32: fix directdraw linking

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=eed0aabcaff861a1ae729c567ac0efa936a59a1f
---

 modules/video_output/Makefile.am |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/video_output/Makefile.am b/modules/video_output/Makefile.am
index be2e16a..3bc2a95 100644
--- a/modules/video_output/Makefile.am
+++ b/modules/video_output/Makefile.am
@@ -208,6 +208,7 @@ libdirectdraw_plugin_la_SOURCES = video_output/win32/directdraw.c \
 libdirectdraw_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
 	-DMODULE_NAME_IS_directdraw
 libdirectdraw_plugin_la_LIBADD = -luser32 -lgdi32 -lole32 -luuid
+libdirectdraw_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
 if HAVE_WIN32_DESKTOP
 vout_LTLIBRARIES += $(LTLIBdirectdraw)
 EXTRA_LTLIBRARIES += libdirectdraw_plugin.la



More information about the vlc-commits mailing list