summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/glx/mini/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/glx/mini/Makefile b/src/glx/mini/Makefile
index e87905acba..3a95849d1a 100644
--- a/src/glx/mini/Makefile
+++ b/src/glx/mini/Makefile
@@ -12,9 +12,6 @@ C_SOURCES = \
$(TOP)/src/mesa/glapi/glapi.c \
$(TOP)/src/mesa/glapi/glthread.c \
$(TOP)/src/mesa/drivers/dri/common/glcontextmodes.c \
- $(DRM_SOURCE_PATH)/libdrm/xf86drm.c \
- $(DRM_SOURCE_PATH)/libdrm/xf86drmHash.c \
- $(DRM_SOURCE_PATH)/libdrm/xf86drmRandom.c \
miniglx.c \
miniglx_events.c
@@ -57,7 +54,7 @@ default: depend $(LIB_DIR)/$(GL_LIB_NAME)
$(LIB_DIR)/$(GL_LIB_NAME): $(OBJECTS) Makefile
$(TOP)/bin/mklib -o $(GL_LIB) -linker '$(CC)' \
-major 1 -minor 2 $(MKLIB_OPTIONS) \
- -install $(LIB_DIR) $(GL_LIB_DEPS) $(OBJECTS)
+ -install $(LIB_DIR) $(GL_LIB_DEPS) $(OBJECTS) `/usr/bin/pkg-config --libs libdrm` `/usr/bin/pkg-config --libs pciaccess`
rm -f $(LIB_DIR)/miniglx.conf
install example.miniglx.conf $(LIB_DIR)/miniglx.conf