From 90e256853418eaaba3717f930cc6a331e4099056 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Tue, 24 Jan 2012 09:24:06 +0100 Subject: egl,gbm_gallium: Fix linkage against gbm from automake Add src/gbm/.libs to ldflags. The gbm lib is src/gbm/.libs/ instead of lib/ as of commit 06ad64ad29e7aa9e2d001f6bd1f8c1c1f77050b8. --- src/gallium/targets/egl-static/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/targets/egl-static/Makefile') 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 -- cgit v1.2.3