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

24 lines
771 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
---
js/src/js.pc.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/js/src/js.pc.in b/js/src/js.pc.in
index 1efea33..f6614ff 100644
--- a/js/src/js.pc.in
+++ b/js/src/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