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/egl | |
parent | 95c917f7dd6e837cb1b280be617a795dd57c9f13 (diff) | |
download | external_mesa3d-aa4ca9119d1dbaf542cf5971f845b434ef008aa0.zip external_mesa3d-aa4ca9119d1dbaf542cf5971f845b434ef008aa0.tar.gz external_mesa3d-aa4ca9119d1dbaf542cf5971f845b434ef008aa0.tar.bz2 |
link libEGLdri.so with libdrm
Diffstat (limited to 'src/egl')
-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 13aacd4..bdc683a 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: |