summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjiangph <jiangph@cn.ibm.com>2020-08-05 15:23:19 +0800
committerjiangph <jiangph@cn.ibm.com>2020-08-06 14:44:08 +0800
commitfc9037c343bd2952816f258140d5b47b374b6983 (patch)
tree7f29e7d1cffeccb602173d8eb1ba7e956658541b
parentf43f78a9f9b2a157c2443fea596178c7dedb7e2c (diff)
downloadcouchdb-build-couchjs-for-redhat-linux.tar.gz
fixup: Build couch_js for redhat linuxbuild-couchjs-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.script4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/couch/rebar.config.script b/src/couch/rebar.config.script
index 4a5ef36e7..93608cea7 100644
--- a/src/couch/rebar.config.script
+++ b/src/couch/rebar.config.script
@@ -123,12 +123,12 @@ end.
{unix, _} when SMVsn == "60" ->
{
"-DXP_UNIX -I/usr/include/mozjs-60 -I/usr/local/include/mozjs-60 -std=c++14 -Wno-invalid-offsetof",
- "-L/usr/local/lib -std=c++14 -lmozjs-60 -lm"
+ "-L/usr/local/lib -std=c++14 -lmozjs-60 -lm -lstdc++"
};
{unix, _} when SMVsn == "68" ->
{
"-DXP_UNIX -I/usr/include/mozjs-68 -I/usr/local/include/mozjs-68 -std=c++14 -Wno-invalid-offsetof",
- "-L/usr/local/lib -std=c++14 -lmozjs-68 -lm"
+ "-L/usr/local/lib -std=c++14 -lmozjs-68 -lm -lstdc++"
}
end.