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: v0.1~54 X-Git-Url: http://git.liburcu.org/?p=ust.git;a=commitdiff_plain;h=9727555f30daf958f4817b28069ad36e871d65e8 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 f881570..8c4eb65 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 $@ $<