egl: link libEGL w/ additional libs
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 9 Jul 2008 21:49:59 +0000 (15:49 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 9 Jul 2008 21:49:59 +0000 (15:49 -0600)
src/egl/drivers/xdri/Makefile

index 477a75184ac8e5a8e1406ee1f1e1387ab145d374..252d00b6c221e6ef58d0ee314ae15de05e8420f5 100644 (file)
@@ -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: