summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/egl-static/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/egl-static/Makefile')
-rw-r--r--src/gallium/targets/egl-static/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/targets/egl-static/Makefile b/src/gallium/targets/egl-static/Makefile
index 9e8777402cb..92b72665f10 100644
--- a/src/gallium/targets/egl-static/Makefile
+++ b/src/gallium/targets/egl-static/Makefile
@@ -58,6 +58,7 @@ endif
ifneq ($(findstring drm, $(EGL_PLATFORMS)),)
egl_CPPFLAGS += $(LIBDRM_CFLAGS)
egl_SYS += $(LIBDRM_LIB) -lgbm
+LDFLAGS += -L$(TOP)/src/gbm/.libs
endif
ifneq ($(findstring fbdev, $(EGL_PLATFORMS)),)
egl_LIBS += $(TOP)/src/gallium/winsys/sw/fbdev/libfbdev.a