From: Jan Blunck Date: Mon, 26 Oct 2009 13:59:35 +0000 (+0100) Subject: Fix include path when compiling libust-initializer.c X-Git-Tag: v1.9.1~830 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=9727555f30daf958f4817b28069ad36e871d65e8;p=lttng-ust.git Fix include path when compiling libust-initializer.c Otherwise it does not find the headers if they are not installed already. Signed-off-by: Jan Blunck --- diff --git a/Makefile.am b/Makefile.am index f8815700..8c4eb65c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -14,4 +14,4 @@ libust.so: libust.ldscript.in $(SED) -e "s@\@FORMAT\@@${libust_FORMAT}@" -e "s@\@PATH\@@${libdir}@g" < $< > $@ libust-initializer.o: libust-initializer.c - $(CC) -c $(CFLAGS) -o $@ $< + $(CC) $(CFLAGS) -c -I$(top_builddir)/include -o $@ $<