summaryrefslogtreecommitdiff
path: root/progs/openvg
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2009-08-26 12:44:02 +0800
committerBrian Paul <brianp@vmware.com>2009-08-27 08:08:30 -0600
commit8d0bdfa4335ea07a747f53635a57414d15c234b7 (patch)
tree7812665d74da846cc02493f7dceb80fad0d85579 /progs/openvg
parent0dd08a9e15192dec7fd97febdbb39ce25a08a525 (diff)
progs: EGL/X progs should link to libX11.
Since 5a459d58fca2b71cb77c39f98df8a81ce6298421, libEGL no longer links to libX11. Add the dependency to affected progs and cleanup prog/egl/Makefile. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Diffstat (limited to 'progs/openvg')
-rw-r--r--progs/openvg/demos/Makefile2
-rw-r--r--progs/openvg/trivial/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/progs/openvg/demos/Makefile b/progs/openvg/demos/Makefile
index 6e15342c7f..89b0ce441b 100644
--- a/progs/openvg/demos/Makefile
+++ b/progs/openvg/demos/Makefile
@@ -3,7 +3,7 @@
TOP = ../../..
include $(TOP)/configs/current
-VG_LIBS=-lm -pthread -lEGL -lOpenVG
+VG_LIBS=-lm -pthread -lX11 -lEGL -lOpenVG
INCLUDE_DIRS = -I$(TOP)/include
PROGRAMS = \
diff --git a/progs/openvg/trivial/Makefile b/progs/openvg/trivial/Makefile
index 362360e596..fcb3484377 100644
--- a/progs/openvg/trivial/Makefile
+++ b/progs/openvg/trivial/Makefile
@@ -5,7 +5,7 @@ TOP = ../../../
include $(TOP)/configs/current
INCLUDES = -I. -I$(TOP)/include
-LIBS=-L$(TOP)/$(LIB_DIR) -lm -lEGL -lOpenVG -lpthread
+LIBS=-L$(TOP)/$(LIB_DIR) -lm -lX11 -lEGL -lOpenVG -lpthread
CFLAGS += $(INCLUDES)
HEADERS=eglcommon.h