summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gmp/gmp/use-includedir.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/gmp/gmp/use-includedir.patch')
-rw-r--r--meta/recipes-support/gmp/gmp/use-includedir.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-support/gmp/gmp/use-includedir.patch b/meta/recipes-support/gmp/gmp/use-includedir.patch
new file mode 100644
index 0000000000..d27317cdf6
--- /dev/null
+++ b/meta/recipes-support/gmp/gmp/use-includedir.patch
@@ -0,0 +1,18 @@
1exec includedir should be pointing to general yocto includdir
2
3Upstream-Status: Pending
4Signed-off-by: Khem Raj <raj.khem@gmail.com>
5
6Index: gmp-6.1.2/Makefile.am
7===================================================================
8--- gmp-6.1.2.orig/Makefile.am
9+++ gmp-6.1.2/Makefile.am
10@@ -130,7 +130,7 @@ EXTRA_DIST += gmpxx.h
11 # but anyone knowledgeable enough to be playing with exec_prefix will be able
12 # to address that.
13 #
14-includeexecdir = $(exec_prefix)/include
15+includeexecdir = $(includedir)
16 include_HEADERS = $(GMPXX_HEADERS_OPTION)
17 nodist_includeexec_HEADERS = gmp.h
18 lib_LTLIBRARIES = libgmp.la $(GMPXX_LTLIBRARIES_OPTION)