Skip to contentSkip to conversation

Fix (make check)

PATCH In review Miloslav Trmac 2 participants 2 messages Nov 18, 2007 – Nov 19, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix (make check)

Hello,
(make check) currently builds tests against libaudit headers installed system-wide; if no headers are installed, the build fails.

The attached patch fixes the build.
Mirek

auparse/test/Makefile.am +1 -1
diff -urN audit/auparse/test/Makefile.am audit-1.6.2/auparse/test/Makefile.am
@@ -24,7 +24,7 @@
 check_SCRIPTS = auparse_test.py
 EXTRA_DIST = auparse_test.ref
 
-INCLUDES = -I..
+INCLUDES = -I.. -I../../lib
 
 auparse_test_SOURCES = auparse_test.c
 auparse_test_LDFLAGS = -static
#1 lore raw
Quoted 1 line · Miloslav Trmac

The attached patch fixes the build.

Merged with this change:

--I../../lib
+-I${top_srcdir}/lib

Thanks,
-Steve