summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Hui Jiang <jiangph@cn.ibm.com>2020-08-20 14:11:26 +0800
committerGitHub <noreply@github.com>2020-08-20 14:11:26 +0800
commit3091c93cd49e8bafeb91b5e5074b310102804bb9 (patch)
treeac3090721402991208bf41d7d51a6119a84bab33
parent7d9f1150ff51a7a606019e9913d73c688c86d355 (diff)
parent11e8d0d62f9930df0d40a041452c866a5adf3320 (diff)
downloadcouchdb-3091c93cd49e8bafeb91b5e5074b310102804bb9.tar.gz
Merge pull request #3056 from apache/build-couchjs-for-redhat-linux
fixup: Build couch_js for redhat linux
-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.