mirror of https://github.com/vitalif/e2fsprogs
ae06582867
Change the include path in the Cflags field so that #include <lib/foo.h> and <foo.h> will work. We had originally used a C flags which allowed <foo.h> to work, but many applications (especially those not using pkg-config) had been using the <lob/foo.h> formulation which didn't require an explicit -I{$includedir} option to the C compiler. If those applications then converted over to pkg-config, and the e2fsprogs libraries were installed with a prefix other than /usr, so that the header files were in some directory such as /usr/local/include, a program that used #include <lib/foo.h> would fail to compile. So change the pkg-config files to include both -I{$includedir} and -I{$includir}/lib. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> |
||
---|---|---|
.. | ||
test_cases | ||
Makefile.in | ||
com_err.3 | ||
com_err.c | ||
com_err.h | ||
com_err.pc.in | ||
com_err.texinfo | ||
com_right.c | ||
compile_et.1 | ||
compile_et.sh.in | ||
error_message.c | ||
error_table.h | ||
et_c.awk | ||
et_h.awk | ||
et_name.c | ||
init_et.c | ||
internal.h | ||
texinfo.tex | ||
vfprintf.c |