Commit 02c56916 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

EGL: cleanup build rules

parent 5f2f3793
......@@ -3249,14 +3249,7 @@ AC_SUBST([GL_LIBS])
dnl
dnl EGL
dnl
AC_ARG_ENABLE(egl,
[ --enable-egl EGL support (default disabled)],, [
enable_egl="no"
])
AS_IF([test "${enable_egl}" != "no"], [
PKG_CHECK_MODULES(EGL, [egl])
VLC_ADD_PLUGIN([egl])
])
PKG_ENABLE_MODULES_VLC([EGL], [], [egl], [EGL support], [auto])
dnl
dnl SDL module
......
......@@ -94,14 +94,9 @@ libvlc_LTLIBRARIES += libdrawable_plugin.la
endif
### EGL ###
libegl_plugin_la_SOURCES = \
opengl.h opengl.c \
egl.c
#FIXME FIXME FIXME
libegl_plugin_la_CFLAGS = $(AM_CFLAGS) \
$(EGL_CFLAGS) $(GL_CFLAGS)
libegl_plugin_la_LIBADD = $(AM_LIBADD) \
$(EGL_LIBS) $(GL_LIBS)
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
libegl_plugin_la_LIBADD += -ldl $(X_LIBS) $(X_PRE_LIBS) -lX11
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