summaryrefslogtreecommitdiffstats
path: root/js/src/build/js.pc.in
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/build/js.pc.in')
-rw-r--r--js/src/build/js.pc.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/js/src/build/js.pc.in b/js/src/build/js.pc.in
new file mode 100644
index 0000000000..06f70ae8d0
--- /dev/null
+++ b/js/src/build/js.pc.in
@@ -0,0 +1,14 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: SpiderMonkey @MOZILLA_VERSION@
+Description: The Mozilla library for JavaScript
+Version: @MOZILLA_VERSION@
+@PKGCONF_REQUIRES_PRIVATE@
+Libs: -L${libdir} -l@JS_LIBRARY_NAME@
+# Use -isystem for includes rather than -I, to mark them as "system headers"
+# that don't generate warning diagnostics. For justification, see
+# https://bugzilla.mozilla.org/show_bug.cgi?id=1539036
+Cflags: -isystem ${includedir}/@JS_LIBRARY_NAME@