projects
/
profile
/
ivi
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78231c8
)
Use the eagle pkg-config file instead of assuming ../eagle.
author
Kristian Høgsberg
<krh@redhat.com>
Sat, 8 Nov 2008 20:30:41 +0000
(15:30 -0500)
committer
Kristian Høgsberg
<krh@redhat.com>
Sat, 8 Nov 2008 20:30:41 +0000
(15:30 -0500)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
0205537
..
05f7229
100644
(file)
--- 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