summaryrefslogtreecommitdiffstats
path: root/src/egl
diff options
context:
space:
mode:
authorBenjamin Franzke <[email protected]>2012-01-24 09:24:06 +0100
committerBenjamin Franzke <[email protected]>2012-01-24 10:00:52 +0100
commit90e256853418eaaba3717f930cc6a331e4099056 (patch)
treebff7663d6b2166dbe1c35f5ae99baf27035373f1 /src/egl
parent5a84cc4ebcc99fb029d5f855e8afa11fab09266a (diff)
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.
Diffstat (limited to 'src/egl')
-rw-r--r--src/egl/main/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/egl/main/Makefile b/src/egl/main/Makefile
index 57fb691ea9d..25fb3c50bd6 100644
--- a/src/egl/main/Makefile
+++ b/src/egl/main/Makefile
@@ -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