Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 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 |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 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 |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 12 | Upstream-Status: Inappropriate [embedded specific] |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 13 | Signed-off-by: Andreas MΓΌller <schnitzeltony@googlemail.com> |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 14 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 15 | Rebase to 52.8.1 |
| 16 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
| 17 | --- |
| 18 | js/src/js.pc.in | 2 +- |
| 19 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 20 | |
| 21 | diff --git a/js/src/js.pc.in b/js/src/js.pc.in |
| 22 | index 2eae393..c2dea62 100644 |
| 23 | --- a/js/src/js.pc.in |
| 24 | +++ b/js/src/js.pc.in |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 25 | @@ -8,4 +8,4 @@ Description: The Mozilla library for JavaScript |
| 26 | Version: @MOZILLA_VERSION@ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 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@ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 31 | -- |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 32 | 2.7.4 |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 33 | |