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