Update bin/install.sh - Support RingCJSON
@@ -550,3 +550,17 @@ sudo ln -sf "`pwd`/lib/libring_libui.so" /usr/lib64
sudo cp extensions/ringlibui/linux/libui.so.* /usr/lib
sudo cp extensions/ringlibui/linux/libui.so.* /usr/lib64
fi
+
+# Make the RingCJSON library ready for use directly
+
+if [ -f lib/libring_cjson.dylib ];
+then
+ln -sf "`pwd`/lib/libring_cjson.dylib" /usr/local/lib
+xattr -d com.apple.quarantine /usr/local/lib/libring_cjson.dylib
+fi
+
+if [ -f lib/libring_libui.so ];
+then
+sudo ln -sf "`pwd`/lib/libring_cjson.so" /usr/lib
+sudo ln -sf "`pwd`/lib/libring_cjson.so" /usr/lib64
+fi
\ No newline at end of file
