summaryrefslogtreecommitdiff
path: root/tools/make-binaries
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2022-05-28 10:21:43 +0200
committerHolger Weiss <holger@zedat.fu-berlin.de>2022-05-28 10:21:43 +0200
commitb4c78336a6201703c8af9d4bfc17c11becc1034d (patch)
tree7c802aa168118772b2a5ba84b159867a5fc47b3b /tools/make-binaries
parentmake-binaries: Fix linking of EIMP dependencies (diff)
make-binaries: Edit rebar.config more carefully
Don't break the (currently nonexistent) case where a dependency's rebar.config file specifies LDFLAGS before and after "-lstdc++", such as "-lfoo -lstdc++ -lbar".
Diffstat (limited to 'tools/make-binaries')
-rwxr-xr-xtools/make-binaries2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/make-binaries b/tools/make-binaries
index 8ce85c9b..51bf34a4 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'