mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-24 17:29:28 +01:00
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".
This commit is contained in:
parent
c1ee86e85c
commit
b4c78336a6
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user