Skip to contentSkip to conversation

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

PATCH New Khem Raj 1 participant 1 message Aug 12, 2018

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 f2fs-tools:: Use srcdir prefix to denote include path

This helps builds when builddir != srcdir

---
 tools/sg_write_buffer/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/sg_write_buffer/Makefile.am +1 -1
index 922c328..19c438d 100644
@@ -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 \
Signature · 1 line
2.18.0