summaryrefslogtreecommitdiff
path: root/src/egl/main/Makefile
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-05-30 11:40:23 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-05-30 11:47:08 -0600
commitd0de5a2dafb5143f01a3c6dc367c85aa0800466b (patch)
tree4b9d8c34842a64d56d9e601fe80551dcdc7fe199 /src/egl/main/Makefile
parent1529a2c983f70ed7ff661ae6e8995cdfbca6d9cf (diff)
link libEGL with Xlib
Diffstat (limited to 'src/egl/main/Makefile')
-rw-r--r--src/egl/main/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/egl/main/Makefile b/src/egl/main/Makefile
index 5b341a19be..96742bb4bc 100644
--- a/src/egl/main/Makefile
+++ b/src/egl/main/Makefile
@@ -46,6 +46,8 @@ OBJECTS = $(SOURCES:.c=.o)
# Undefined for now
LOCAL_CFLAGS = -D_EGL_PLATFORM_X=1
+LIBS = -lX11
+
.c.o:
$(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $(LOCAL_CFLAGS) $< -o $@
@@ -60,7 +62,7 @@ library: $(TOP)/$(LIB_DIR)/libEGL.so
$(TOP)/$(LIB_DIR)/libEGL.so: $(OBJECTS)
$(TOP)/bin/mklib -o EGL -major 1 -minor 0 \
- -install $(TOP)/$(LIB_DIR) -ldl $(OBJECTS)
+ -install $(TOP)/$(LIB_DIR) -ldl $(OBJECTS) $(LIBS)