citadel/meta-gnome/recipes-support/mozjs/mozjs52/0001-do-not-include-RequiredDefines.patch

24 lines
736 B
Diff
Raw Normal View History

From 488c8ee5ff98a2d1fb40553ff1db8b452f88a735 Mon Sep 17 00:00:00 2001
From: brl <bruce@subgraph.com>
Date: Tue, 23 Jan 2018 14:51:11 -0500
Subject: [PATCH] do not include RequiredDefines
pkg-config does not correctly prepend sysroot to this
---
2018-01-24 10:47:27 -05:00
js.pc.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2018-01-24 10:47:27 -05:00
diff --git a/js.pc.in b/js.pc.in
index 1efea33..f6614ff 100644
2018-01-24 10:47:27 -05:00
--- a/js.pc.in
+++ b/js.pc.in
@@ -8,4 +8,4 @@ Description: The Mozilla library for JavaScript
Version: @MOZILLA_VERSION@
Requires.private: @NSPR_PKGCONF_CHECK@
Libs: -L${libdir} -l@JS_LIBRARY_NAME@
-Cflags: -include ${includedir}/@JS_LIBRARY_NAME@/js/RequiredDefines.h -I${includedir}/@JS_LIBRARY_NAME@
+Cflags: -I${includedir}/@JS_LIBRARY_NAME@
--
2.14.3