diff options
author | jiangph <jiangph@cn.ibm.com> | 2020-08-05 15:23:19 +0800 |
---|---|---|
committer | jiangph <jiangph@cn.ibm.com> | 2020-08-20 13:14:36 +0800 |
commit | 11e8d0d62f9930df0d40a041452c866a5adf3320 (patch) | |
tree | ac3090721402991208bf41d7d51a6119a84bab33 | |
parent | 7d9f1150ff51a7a606019e9913d73c688c86d355 (diff) | |
download | couchdb-11e8d0d62f9930df0d40a041452c866a5adf3320.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.script | 4 |
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. |