Commit d2f181ab authored by Naohiro KORIYAMA's avatar Naohiro KORIYAMA Committed by Felix Paul Kühne

egl: avoid linking X

Signed-off-by: default avatarFelix Paul Kühne <fkuehne@videolan.org>
parent 20a9ce3c
...@@ -177,7 +177,9 @@ libegl_plugin_la_SOURCES = egl.c ...@@ -177,7 +177,9 @@ libegl_plugin_la_SOURCES = egl.c
libegl_plugin_la_CFLAGS = $(AM_CFLAGS) $(EGL_CFLAGS) libegl_plugin_la_CFLAGS = $(AM_CFLAGS) $(EGL_CFLAGS)
libegl_plugin_la_LIBADD = $(AM_LIBADD) $(EGL_LIBS) libegl_plugin_la_LIBADD = $(AM_LIBADD) $(EGL_LIBS)
if !HAVE_WIN32 if !HAVE_WIN32
if !HAVE_DARWIN
libegl_plugin_la_LIBADD += $(X_LIBS) $(X_PRE_LIBS) -lX11 libegl_plugin_la_LIBADD += $(X_LIBS) $(X_PRE_LIBS) -lX11
endif
else else
libegl_plugin_la_DEPENDENCIES = libegl_plugin.rc.o libegl_plugin_la_DEPENDENCIES = libegl_plugin.rc.o
endif endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment