projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1529a2c
)
link libEGL with Xlib
author
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 30 May 2008 17:40:23 +0000
(11:40 -0600)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Fri, 30 May 2008 17:47:08 +0000
(11:47 -0600)
src/egl/main/Makefile
patch
|
blob
|
history
diff --git
a/src/egl/main/Makefile
b/src/egl/main/Makefile
index 5b341a19be2a4a89346eeaf305007fda7522e572..96742bb4bc65b2ded4602a4378e7bfd161e70083 100644
(file)
--- 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)