gob2-dont-include-from-prefix.patch 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. [PATCH] Don't search $prefix/include for header files
  2. Don't add $prefix/include to the header file search path, as that breaks
  3. cross compilation (build $prefix/include isn't the same as target
  4. $prefix/include).
  5. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
  6. ---
  7. src/Makefile.am | 3 +--
  8. src/Makefile.in | 3 +--
  9. 2 files changed, 2 insertions(+), 4 deletions(-)
  10. Index: gob2-2.0.15/src/Makefile.am
  11. ===================================================================
  12. --- gob2-2.0.15.orig/src/Makefile.am
  13. +++ gob2-2.0.15/src/Makefile.am
  14. @@ -17,8 +17,7 @@ INCLUDES = \
  15. -I$(top_builddir) \
  16. -I$(top_builddir)/src \
  17. -I$(top_srcdir) \
  18. - -I$(top_srcdir)/src \
  19. - -I$(includedir)
  20. + -I$(top_srcdir)/src
  21. if NOINSTGOB
  22. noinst_PROGRAMS = @NOINSTGOB@
  23. Index: gob2-2.0.15/src/Makefile.in
  24. ===================================================================
  25. --- gob2-2.0.15.orig/src/Makefile.in
  26. +++ gob2-2.0.15/src/Makefile.in
  27. @@ -193,8 +193,7 @@ INCLUDES = \
  28. -I$(top_builddir) \
  29. -I$(top_builddir)/src \
  30. -I$(top_srcdir) \
  31. - -I$(top_srcdir)/src \
  32. - -I$(includedir)
  33. + -I$(top_srcdir)/src
  34. @NOINSTGOB_TRUE@noinst_PROGRAMS = @NOINSTGOB@
  35. @NOINSTGOB_FALSE@bin_PROGRAMS = @INSTGOB@