diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-05-04 16:08:24 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-05-04 16:08:24 +0200 |
commit | 163a062727a7b81ab8e19776f28e780973524332 (patch) | |
tree | 951829424b8388a9b4dfb77d82000f0a3517401f /package/gob2/gob2-dont-include-from-prefix.patch | |
parent | 6f8a717e8e558f9f2ba9ba6e53fcc2dfe81be539 (diff) | |
download | buildroot-novena-163a062727a7b81ab8e19776f28e780973524332.tar.gz buildroot-novena-163a062727a7b81ab8e19776f28e780973524332.zip |
package/: add gob2 for target/host and use for gmpc compilation
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/gob2/gob2-dont-include-from-prefix.patch')
-rw-r--r-- | package/gob2/gob2-dont-include-from-prefix.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/package/gob2/gob2-dont-include-from-prefix.patch b/package/gob2/gob2-dont-include-from-prefix.patch new file mode 100644 index 000000000..1b603d754 --- /dev/null +++ b/package/gob2/gob2-dont-include-from-prefix.patch @@ -0,0 +1,40 @@ +[PATCH] Don't search $prefix/include for header files + +Don't add $prefix/include to the header file search path, as that breaks +cross compilation (build $prefix/include isn't the same as target +$prefix/include). + +Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> +--- + src/Makefile.am | 3 +-- + src/Makefile.in | 3 +-- + 2 files changed, 2 insertions(+), 4 deletions(-) + +Index: gob2-2.0.15/src/Makefile.am +=================================================================== +--- gob2-2.0.15.orig/src/Makefile.am ++++ gob2-2.0.15/src/Makefile.am +@@ -17,8 +17,7 @@ INCLUDES = \ + -I$(top_builddir) \ + -I$(top_builddir)/src \ + -I$(top_srcdir) \ +- -I$(top_srcdir)/src \ +- -I$(includedir) ++ -I$(top_srcdir)/src + + if NOINSTGOB + noinst_PROGRAMS = @NOINSTGOB@ +Index: gob2-2.0.15/src/Makefile.in +=================================================================== +--- gob2-2.0.15.orig/src/Makefile.in ++++ gob2-2.0.15/src/Makefile.in +@@ -193,8 +193,7 @@ INCLUDES = \ + -I$(top_builddir) \ + -I$(top_builddir)/src \ + -I$(top_srcdir) \ +- -I$(top_srcdir)/src \ +- -I$(includedir) ++ -I$(top_srcdir)/src + + @NOINSTGOB_TRUE@noinst_PROGRAMS = @NOINSTGOB@ + @NOINSTGOB_FALSE@bin_PROGRAMS = @INSTGOB@ |