diff --git a/tools/make-binaries b/tools/make-binaries index 8ce85c9b7..51bf34a43 100755 --- a/tools/make-binaries +++ b/tools/make-binaries @@ -748,7 +748,7 @@ build_rel() --enable-all \ --disable-erlang-version-check make deps - sed -i 's/ *-lstdc++ *//g' 'deps/'*'/rebar.config'* # Link statically. + sed -i 's/ *-lstdc++//g' 'deps/'*'/rebar.config'* # Link statically. if [ "$mode" = 'cross' ] then ln -s "$prefix/lib/erlang" 'lib/erlang'