summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjiangph <jiangph@cn.ibm.com>2020-08-05 15:37:45 +0800
committerjiangph <jiangph@cn.ibm.com>2020-08-06 14:38:38 +0800
commit042347e47e1f8de0fc1f5de9a66bc9cc2296711d (patch)
tree1854c3362147628bb76a1af54020717c0a5e9ea9
parente0bcb2a5ebbe23f4c04c9c19dbdbde692bef8fde (diff)
downloadcouchdb-042347e47e1f8de0fc1f5de9a66bc9cc2296711d.tar.gz
fixup: Build couch_js for redhat linux
When building couch_js in RHEL, there is one error occurring with "undefined reference to symbol '_ZTVN10__cxxabiv117__class_type_infoE@@CXXABI_1.3'". This commit is to adjust binding library to address this issue.
-rw-r--r--src/couch/rebar.config.script2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couch/rebar.config.script b/src/couch/rebar.config.script
index 80e6bd12e..aa8939ab5 100644
--- a/src/couch/rebar.config.script
+++ b/src/couch/rebar.config.script
@@ -121,7 +121,7 @@ end,
{unix, _} when SMVsn == "60" ->
{
"-DXP_UNIX -I/usr/include/mozjs-60 -I/usr/local/include/mozjs-60 -std=c++14",
- "-L/usr/local/lib -std=c++14 -lmozjs-60 -lm"
+ "-L/usr/local/lib -std=c++14 -lmozjs-60 -lm -lstdc++"
}
end.