summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-11-08 15:30:41 -0500
committerKristian Høgsberg <krh@redhat.com>2008-11-08 15:30:41 -0500
commitf099fd24a364e8ee7a2b9a5d7277e0dfd481bfe4 (patch)
tree8f631c0a084e5224f2900a23a6c1a72fd88f055a
parent78231c8dd0f16e2a64e16691b1137834062e78d9 (diff)
downloadwayland-f099fd24a364e8ee7a2b9a5d7277e0dfd481bfe4.tar.gz
wayland-f099fd24a364e8ee7a2b9a5d7277e0dfd481bfe4.tar.xz
wayland-f099fd24a364e8ee7a2b9a5d7277e0dfd481bfe4.zip
Use the eagle pkg-config file instead of assuming ../eagle.
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0205537..05f7229 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,9 @@
CFLAGS = -Wall -g
-EAGLE_CFLAGS = -I../eagle
-EAGLE_LDLIBS = -L../eagle -leagle
+PKG_CONFIG_PATH ?= $(HOME)/install/lib/pkgconfig
+
+EAGLE_CFLAGS = $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-config --cflags eagle)
+EAGLE_LDLIBS = $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-config --libs eagle)
clients = flower pointer background window
compositors = egl-compositor.so glx-compositor.so