1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-04 09:11:33 +02:00

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
This commit is contained in:
Rafaël Carré 2012-01-24 22:43:07 -05:00
parent c48f8460bb
commit 2a8e01dda3

View File

@ -32,7 +32,7 @@ live555: $(LIVE555_FILE) .sum-live555
ifdef HAVE_WINCE
cd live && sed -e 's/-lws2_32/-lws2/g' -i.orig config.mingw
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 \
-e 's%-DBSD=1%-DBSD=1\ $(EXTRA_CFLAGS)\ $(EXTRA_LDFLAGS)%' \