diff options
author | Corey Farrell <git@cfware.com> | 2018-01-30 21:31:51 -0500 |
---|---|---|
committer | Corey Farrell <git@cfware.com> | 2018-02-12 13:27:08 -0500 |
commit | 04490fb1d8b572ee85ae378b6d51d10dafbd85c4 (patch) | |
tree | ffc50a3a36c048b3e0979c7ec2401fc83fbe86de /contrib | |
parent | c86ed5a69d4837f9d9cf6c2463adb987d6225bed (diff) |
json: Add conditionals to avoid locking if Jansson is thread safe.
Jansson is thread safe for all read-only functions and reference
counting starting v2.11. This allows simplification of our code and
removal of locking around reference counting and dumping.
Change-Id: Id985cb3ffa6681f9ac765642e20fcd187bd4aeee
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/scripts/install_prereq | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/scripts/install_prereq b/contrib/scripts/install_prereq index 367a9a975..ff792f135 100755 --- a/contrib/scripts/install_prereq +++ b/contrib/scripts/install_prereq @@ -56,7 +56,7 @@ PACKAGES_FBSD="$PACKAGES_FBSD sqlite3 libxslt jansson e2fsprogs-libuuid gsm libs KVERS=`uname -r` -JANSSON_VER=2.10 +JANSSON_VER=2.11 case "$1" in test) |