summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/egl/Makefile
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2010-06-29 12:28:41 +0100
committerJakob Bornecrantz <[email protected]>2010-06-29 12:28:41 +0100
commit006d02a91108971f52b231b83504bad9a25fadf8 (patch)
tree6c3588db03be04b89f90a552517cefd509f6d131 /src/gallium/targets/egl/Makefile
parenteebb04875392e162a7372d79b8eb2f72d9086d65 (diff)
egl: Fix gallium build when EGL is not installed on system
Diffstat (limited to 'src/gallium/targets/egl/Makefile')
-rw-r--r--src/gallium/targets/egl/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/targets/egl/Makefile b/src/gallium/targets/egl/Makefile
index b9db6bc2c9f..8f9eb525908 100644
--- a/src/gallium/targets/egl/Makefile
+++ b/src/gallium/targets/egl/Makefile
@@ -20,6 +20,7 @@ ST_PREFIX := st_
PIPE_PREFIX := pipe_
common_CPPFLAGS := \
+ -I$(TOP)/include \
-I$(TOP)/src/gallium/auxiliary \
-I$(TOP)/src/gallium/drivers \
-I$(TOP)/src/gallium/include \
@@ -36,7 +37,7 @@ egl_CPPFLAGS := \
-I$(TOP)/src/gallium/state_trackers/egl \
-I$(TOP)/src/egl/main \
-DPIPE_PREFIX=\"$(PIPE_PREFIX)\" -DST_PREFIX=\"$(ST_PREFIX)\"
-egl_SYS := -lm -ldl -lEGL
+egl_SYS := -lm -ldl -L$(TOP)/$(LIB_DIR) -lEGL
egl_LIBS := $(TOP)/src/gallium/state_trackers/egl/libegl.a
ifneq ($(findstring x11, $(EGL_PLATFORMS)),)