summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJeremy Linton <jeremy.linton@arm.com>2016-08-26 14:01:46 -0500
committerColin Walters <walters@verbum.org>2016-12-12 10:17:05 -0500
commit0676f33aa741a87634ffc3b9ef82c7d092c997ec (patch)
treee3dc7cee4096c9cd070bff81d97b5ff48a66bd6b /test
parent32e9a69c335324a53a2c0ba4e0b513fb044be0fd (diff)
downloadpolkit-0676f33aa741a87634ffc3b9ef82c7d092c997ec.tar.gz
change mozjs interface module to c++
The JSAPI is now a full C++ interface. Convert the polkit to JavaScript interface module to C++ compilation in order to support newer versions of spidermonkey. Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Diffstat (limited to 'test')
-rw-r--r--test/polkitbackend/Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/polkitbackend/Makefile.am b/test/polkitbackend/Makefile.am
index 8859c1f..53bfb2a 100644
--- a/test/polkitbackend/Makefile.am
+++ b/test/polkitbackend/Makefile.am
@@ -35,6 +35,9 @@ TEST_PROGS =
TEST_PROGS += polkitbackendjsauthoritytest
polkitbackendjsauthoritytest_SOURCES = test-polkitbackendjsauthority.c
+# force C++ link via dummy C++ file, (see GNU automake manual section 8.3.5)
+nodist_EXTRA_polkitbackendjsauthoritytest_SOURCES = dummy-force-cpp-link.cxx
+
# ----------------------------------------------------------------------------------------------------