[vlc-commits] egl: avoid linking X

Naohiro KORIYAMA git at videolan.org
Thu Aug 22 12:19:14 CEST 2013


vlc | branch: master | Naohiro KORIYAMA <nkoriyama at gmail.com> | Sun Jun 10 09:56:55 2012 +0900| [d2f181ab2ae1f516a8aae9e7fd75ceb37218861c] | committer: Felix Paul Kühne

egl: avoid linking X

Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>

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

 modules/video_output/Modules.am |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/video_output/Modules.am b/modules/video_output/Modules.am
index b1199aa..5696f5b 100644
--- a/modules/video_output/Modules.am
+++ b/modules/video_output/Modules.am
@@ -177,7 +177,9 @@ libegl_plugin_la_SOURCES = egl.c
 libegl_plugin_la_CFLAGS = $(AM_CFLAGS) $(EGL_CFLAGS)
 libegl_plugin_la_LIBADD = $(AM_LIBADD) $(EGL_LIBS)
 if !HAVE_WIN32
+if !HAVE_DARWIN
 libegl_plugin_la_LIBADD += $(X_LIBS) $(X_PRE_LIBS) -lX11
+endif
 else
 libegl_plugin_la_DEPENDENCIES = libegl_plugin.rc.o
 endif



More information about the vlc-commits mailing list