summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Zeuthen <zeuthen@gmail.com>2012-11-15 10:09:06 -0500
committerDavid Zeuthen <zeuthen@gmail.com>2012-11-15 10:09:06 -0500
commita6747362693a91f8cfa3bd5e619cf91e2e03941b (patch)
treee677298567fb65ac8122ae38ad21501cc0d55015
parentca1b0cd633fb14d2e152abd7b965b02ea58f66d0 (diff)
downloadpolkit-a6747362693a91f8cfa3bd5e619cf91e2e03941b.tar.gz
Don't require libmozjs185 devel packages for polkit rules to work
The SO-name rules for SpiderMonkey are a little bit weird and we were opening wrong file. This problem was reported in https://bugs.freedesktop.org/show_bug.cgi?id=57146 Signed-off-by: David Zeuthen <zeuthen@gmail.com>
-rw-r--r--src/polkitbackend/polkitbackendjsauthority.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/polkitbackend/polkitbackendjsauthority.c b/src/polkitbackend/polkitbackendjsauthority.c
index 034edc4..e4aa46b 100644
--- a/src/polkitbackend/polkitbackendjsauthority.c
+++ b/src/polkitbackend/polkitbackendjsauthority.c
@@ -238,7 +238,7 @@ djs_init (PolkitBackendJsAuthority *authority)
guint n;
const gchar *library_name;
- library_name = "libmozjs185.so";
+ library_name = "libmozjs185.so.1.0";
module = g_module_open (library_name, 0);
if (module == NULL)
goto out;