Commit d7da94f8 authored by Rafaël Carré's avatar Rafaël Carré

contrib: live555: don't match just 'ar'

It would replace the 'ar' of 'arm-....'
Instead use "LIBRARY_LINK =.*ar" to be sure we replace the correct tool
(cherry picked from commit 2a8e01dda3d9bcf9328623bdb2194f2d4c2d9c17)
Signed-off-by: default avatarRafaël Carré <funman@videolan.org>
parent abd3163a
...@@ -32,7 +32,7 @@ live555: $(LIVE555_FILE) .sum-live555 ...@@ -32,7 +32,7 @@ live555: $(LIVE555_FILE) .sum-live555
ifdef HAVE_WINCE ifdef HAVE_WINCE
cd live && sed -e 's/-lws2_32/-lws2/g' -i.orig config.mingw cd live && sed -e 's/-lws2_32/-lws2/g' -i.orig config.mingw
endif endif
cd live && sed -e 's%cc%$(CC)%' -e 's%c++%$(CXX)%' -e 's%ar%$(AR)%' -i.orig config.$(LIVE_TARGET) cd live && sed -e 's%cc%$(CC)%' -e 's%c++%$(CXX)%' -e 's%LIBRARY_LINK =.*ar%LIBRARY_LINK = $(AR)%' -i.orig config.$(LIVE_TARGET)
cd live && sed -i.orig -e s/"libtool -s -o"/"ar cr"/g config.macosx* cd live && sed -i.orig -e s/"libtool -s -o"/"ar cr"/g config.macosx*
cd live && sed \ cd live && sed \
-e 's%-DBSD=1%-DBSD=1\ $(EXTRA_CFLAGS)\ $(EXTRA_LDFLAGS)%' \ -e 's%-DBSD=1%-DBSD=1\ $(EXTRA_CFLAGS)\ $(EXTRA_LDFLAGS)%' \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment