diff mbox series

f2fs-tools:: Use srcdir prefix to denote include path

Message ID 20180812020118.9633-1-raj.khem@gmail.com
State New
Headers show
Series f2fs-tools:: Use srcdir prefix to denote include path | expand

Commit Message

Khem Raj Aug. 12, 2018, 2:01 a.m. UTC
This helps builds when builddir != srcdir

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 tools/sg_write_buffer/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.18.0
diff mbox series

Patch

diff --git a/tools/sg_write_buffer/Makefile.am b/tools/sg_write_buffer/Makefile.am
index 922c328..19c438d 100644
--- a/tools/sg_write_buffer/Makefile.am
+++ b/tools/sg_write_buffer/Makefile.am
@@ -1,7 +1,7 @@ 
 ## Makefile.am
 
 if LINUX
-AM_CPPFLAGS = -I./include
+AM_CPPFLAGS = -I$(srcdir)/include
 AM_CFLAGS = -Wall
 sbin_PROGRAMS = sg_write_buffer
 sg_write_buffer_SOURCES = sg_write_buffer.c \