diff options
author | Theodore Ts'o <tytso@mit.edu> | 2012-05-14 12:45:54 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2012-05-14 12:45:54 -0400 |
commit | ae06582867e1a30d3f8ac2641e9f4cca8091b385 (patch) | |
tree | 849de8d8fd1e664badd5e7a25fc9618b3e845da9 /e2fsprogs.lsm | |
parent | 40024fdbafdf3875a0950e8fee5dd8bf69ea6b6c (diff) | |
download | android_external_e2fsprogs-ae06582867e1a30d3f8ac2641e9f4cca8091b385.tar.gz android_external_e2fsprogs-ae06582867e1a30d3f8ac2641e9f4cca8091b385.tar.bz2 android_external_e2fsprogs-ae06582867e1a30d3f8ac2641e9f4cca8091b385.zip |
Change pkg-config files so that both <et/com_err.h> and <com_err.h> work
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>
Diffstat (limited to 'e2fsprogs.lsm')
0 files changed, 0 insertions, 0 deletions