aboutsummaryrefslogtreecommitdiffstats
path: root/src/egl
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-07-09 15:49:59 -0600
committerBrian Paul <[email protected]>2008-07-09 15:49:59 -0600
commite3b13dba4df0522cce11c55c34a9e3e7d0f3a32c (patch)
tree2203eef312baef7e9774568852534647664de30a /src/egl
parent70b0a949b0af9954359be452febaa44f08052056 (diff)
egl: link libEGL w/ additional libs
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/drivers/xdri/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/egl/drivers/xdri/Makefile b/src/egl/drivers/xdri/Makefile
index 477a75184ac..252d00b6c22 100644
--- a/src/egl/drivers/xdri/Makefile
+++ b/src/egl/drivers/xdri/Makefile
@@ -27,6 +27,8 @@ OBJECTS = $(SOURCES:.c=.o)
DRM_LIB = `pkg-config --libs libdrm`
+MISC_LIBS = -ldl -lXext -lGL
+
.c.o:
$(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@
@@ -47,7 +49,7 @@ $(TOP)/$(LIB_DIR)/$(DRIVER_NAME): $(OBJECTS)
-noprefix \
-major 1 -minor 0 \
-install $(TOP)/$(LIB_DIR) \
- -ldl $(OBJECTS) $(DRM_LIB)
+ $(OBJECTS) $(DRM_LIB) $(MISC_LIBS)
clean: