git » libfiu » commit ed7cdca

preload/posix: Look for libfiu's .so and .h in the local tree

author Alberto Bertogli
2009-06-15 03:28:42 UTC
committer Alberto Bertogli
2009-06-16 15:42:54 UTC
parent cee48fd033580885eab27a422609fc199d4b88eb

preload/posix: Look for libfiu's .so and .h in the local tree

This way we avoid having to install libfiu before building the preload
library.

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>

preload/posix/Makefile +2 -1

diff --git a/preload/posix/Makefile b/preload/posix/Makefile
index bb141fa..a25af76 100644
--- a/preload/posix/Makefile
+++ b/preload/posix/Makefile
@@ -1,6 +1,7 @@
 
 CFLAGS += -std=c99 -Wall -O3
-ALL_CFLAGS = -D_XOPEN_SOURCE=500 -fPIC -DFIU_ENABLE=1 -I. $(CFLAGS)
+ALL_CFLAGS = -D_XOPEN_SOURCE=500 -fPIC -DFIU_ENABLE=1 \
+		-I. -I../../libfiu/ -L../../libfiu/ $(CFLAGS)
 
 ifdef DEBUG
 ALL_CFLAGS += -g