From b4c78336a6201703c8af9d4bfc17c11becc1034d Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Sat, 28 May 2022 10:21:43 +0200 Subject: 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". --- tools/make-binaries | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/make-binaries') 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' -- cgit v1.2.3