summaryrefslogtreecommitdiff
path: root/src/egl/drivers/glx/Makefile
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2011-01-07 16:30:08 +0800
committerChia-I Wu <olv@lunarg.com>2011-01-10 11:50:34 +0800
commitc98ea26e16b6458b4385d6558936696e4d099455 (patch)
treeca75d5d0355fe29e95375db7683e13e26e80fc5b /src/egl/drivers/glx/Makefile
parent15f0223931e32ef5ff82b39a2b6c433400edbd9d (diff)
egl: Make egl_dri2 and egl_glx built-in drivers.
These two drivers are small in size. Making them built-in should simplify packaging.
Diffstat (limited to 'src/egl/drivers/glx/Makefile')
-rw-r--r--src/egl/drivers/glx/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/egl/drivers/glx/Makefile b/src/egl/drivers/glx/Makefile
index 89981e6c3a..a1e6b731fe 100644
--- a/src/egl/drivers/glx/Makefile
+++ b/src/egl/drivers/glx/Makefile
@@ -3,7 +3,7 @@
TOP = ../../../..
include $(TOP)/configs/current
-EGL_DRIVER = egl_glx.so
+EGL_DRIVER = egl_glx
EGL_SOURCES = egl_glx.c
EGL_INCLUDES = \
@@ -13,4 +13,7 @@ EGL_INCLUDES = \
EGL_CFLAGS = $(X11_CFLAGS)
EGL_LIBS = $(X11_LIBS) $(DLOPEN_LIBS)
+EGL_CFLAGS += -D_EGL_MAIN=_eglBuiltInDriverGLX
+EGL_BUILTIN = true
+
include ../Makefile.template