diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-05-28 11:44:47 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-05-28 11:44:47 -0600 |
commit | aa4ca9119d1dbaf542cf5971f845b434ef008aa0 (patch) | |
tree | 4875855f07e0a8d56dcc196eebbdad94d261c02d /src | |
parent | 95c917f7dd6e837cb1b280be617a795dd57c9f13 (diff) |
link libEGLdri.so with libdrm
Diffstat (limited to 'src')
-rw-r--r-- | src/egl/drivers/dri/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/egl/drivers/dri/Makefile b/src/egl/drivers/dri/Makefile index 13aacd4389..bdc683a0c1 100644 --- a/src/egl/drivers/dri/Makefile +++ b/src/egl/drivers/dri/Makefile @@ -29,6 +29,8 @@ SOURCES = egldri.c OBJECTS = $(SOURCES:.c=.o) +DRM_LIB = `pkg-config --libs libdrm` + .c.o: $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@ @@ -43,7 +45,7 @@ library: $(TOP)/$(LIB_DIR)/libEGLdri.so $(TOP)/$(LIB_DIR)/libEGLdri.so: $(OBJECTS) $(TOP)/bin/mklib -o EGLdri -major 1 -minor 0 \ - -install $(TOP)/$(LIB_DIR) -ldl $(OBJECTS) + -install $(TOP)/$(LIB_DIR) -ldl $(OBJECTS) $(DRM_LIB) clean: |