diff options
Diffstat (limited to 'meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs/0002-js.pc.in-do-not-include-RequiredDefines.h-for-depend.patch')
-rw-r--r-- | meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs/0002-js.pc.in-do-not-include-RequiredDefines.h-for-depend.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs/0002-js.pc.in-do-not-include-RequiredDefines.h-for-depend.patch b/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs/0002-js.pc.in-do-not-include-RequiredDefines.h-for-depend.patch new file mode 100644 index 000000000..e3f1883a9 --- /dev/null +++ b/meta-oe/dynamic-layers/meta-python/recipes-extended/mozjs/mozjs/0002-js.pc.in-do-not-include-RequiredDefines.h-for-depend.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From 0a61b0b98c152f10404ccbdeeac583a486638a7a Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com> | ||
3 | Date: Thu, 6 Jun 2013 18:36:01 +0200 | ||
4 | Subject: [PATCH] js.pc.in: do not include RequiredDefines.h for depending | ||
5 | packages | ||
6 | |||
7 | in our cross environment the would fail with: | ||
8 | |||
9 | | cc1: fatal error: /usr/include/js-17.0/js/RequiredDefines.h: No such file or directory | ||
10 | |||
11 | and currently it only defines __STDC_LIMIT_MACROS | ||
12 | Upstream-Status: Inappropriate [embedded specific] | ||
13 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | ||
14 | |||
15 | Rebase to 52.8.1 | ||
16 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
17 | --- | ||
18 | js/src/build/js.pc.in | 2 +- | ||
19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
20 | |||
21 | diff --git a/js/src/build/js.pc.in b/js/src/build/js.pc.in | ||
22 | index 2eae393..c2dea62 100644 | ||
23 | --- a/js/src/build/js.pc.in | ||
24 | +++ b/js/src/build/js.pc.in | ||
25 | @@ -8,4 +8,4 @@ Description: The Mozilla library for JavaScript | ||
26 | Version: @MOZILLA_VERSION@ | ||
27 | @PKGCONF_REQUIRES_PRIVATE@ | ||
28 | Libs: -L${libdir} -l@JS_LIBRARY_NAME@ | ||
29 | -Cflags: -include ${includedir}/@JS_LIBRARY_NAME@/js/RequiredDefines.h -I${includedir}/@JS_LIBRARY_NAME@ | ||
30 | +Cflags: -I${includedir}/@JS_LIBRARY_NAME@ | ||
31 | -- | ||
32 | 2.7.4 | ||
33 | |||