egl,gbm_gallium: Fix linkage against gbm from automake
[mesa.git] / src / egl / main / Makefile
index 57fb691ea9d05c5f32e69892759eb74584bc9770..25fb3c50bd6709d4b413c9a300194277c6d1cfee 100644 (file)
@@ -77,6 +77,7 @@ INCLUDE_DIRS += $(WAYLAND_CFLAGS)
 endif
 ifneq ($(findstring drm, $(EGL_PLATFORMS)),)
 EGL_LIB_DEPS += -lgbm
+LDFLAGS += -L$(TOP)/src/gbm/.libs
 INCLUDE_DIRS += -I$(TOP)/src/gbm/main
 endif