From ed7cdcab959367a77ac887fb6bed09429790face Mon Sep 17 00:00:00 2001
From: Alberto Bertogli <albertito@blitiri.com.ar>
Date: Mon, 15 Jun 2009 00:28:42 -0300
Subject: [PATCH 28/48] 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 |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

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
-- 
1.6.2.2.646.gb214

