diff options
author | jiangph <jiangph@cn.ibm.com> | 2020-08-05 15:37:45 +0800 |
---|---|---|
committer | jiangph <jiangph@cn.ibm.com> | 2020-08-05 15:37:45 +0800 |
commit | 29164628d924fb80b32875fee1c6937acfe4119e (patch) | |
tree | 6c7dfa85ae809f0647fa060d2623a419e5326cbe | |
parent | e0bcb2a5ebbe23f4c04c9c19dbdbde692bef8fde (diff) | |
download | couchdb-build-fdb-couchjs-for-redhat-linux.tar.gz |
fixup: Build couch_js for redhat linuxbuild-fdb-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.script | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/couch/rebar.config.script b/src/couch/rebar.config.script index 80e6bd12e..667bb872c 100644 --- a/src/couch/rebar.config.script +++ b/src/couch/rebar.config.script @@ -118,6 +118,11 @@ end, "-DXP_UNIX -I/usr/include/mozjs-60 -I/usr/local/include/mozjs-60 -std=c++14", "-L/usr/local/lib -lmozjs-60 -lm -std=c++14 -lc++" }; + {unix, linux} when SMVsn == "60" -> + { + "-DXP_UNIX -I/usr/include/mozjs-60 -I/usr/local/include/mozjs-60 -std=c++14", + "-L/usr/local/lib -lstdc++ -lmozjs-60 -lm" + }; {unix, _} when SMVsn == "60" -> { "-DXP_UNIX -I/usr/include/mozjs-60 -I/usr/local/include/mozjs-60 -std=c++14", |