Commit 2dd7a46b authored by Christophe Massiot's avatar Christophe Massiot
Browse files

Bug fix for *.a libraries.

parent 990d95c8
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Makefile : Build vlc-contrib files # Makefile : Build vlc-contrib files
# *************************************************************************** # ***************************************************************************
# Copyright (C) 2003 VideoLAN # Copyright (C) 2003 VideoLAN
# $Id: Makefile,v 1.4 2003/11/23 13:23:20 massiot Exp $ # $Id: Makefile,v 1.5 2003/11/23 14:00:25 massiot Exp $
# #
# Authors: Christophe Massiot <massiot@via.ecp.fr> # Authors: Christophe Massiot <massiot@via.ecp.fr>
# #
...@@ -44,6 +44,7 @@ bin: contrib-macosx.tar.bz2 ...@@ -44,6 +44,7 @@ bin: contrib-macosx.tar.bz2
./change_prefix.sh tmp @@CONTRIB_PREFIX@@ $(PREFIX) ./change_prefix.sh tmp @@CONTRIB_PREFIX@@ $(PREFIX)
(cd tmp; tar cf - .) | tar xf - (cd tmp; tar cf - .) | tar xf -
rm -rf tmp rm -rf tmp
ranlib lib/*\.a
clean-src: FORCE clean-src: FORCE
$(MAKE) -C src clean-src $(MAKE) -C src clean-src
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# change_prefix.sh : allow to transfer a contrib dir # change_prefix.sh : allow to transfer a contrib dir
# *************************************************************************** # ***************************************************************************
# Copyright (C) 2003 VideoLAN # Copyright (C) 2003 VideoLAN
# $Id: change_prefix.sh,v 1.2 2003/11/23 13:23:20 massiot Exp $ # $Id: change_prefix.sh,v 1.3 2003/11/23 14:00:25 massiot Exp $
# #
# Authors: Christophe Massiot <massiot@via.ecp.fr> # Authors: Christophe Massiot <massiot@via.ecp.fr>
# #
...@@ -53,7 +53,7 @@ for file in $files; do ...@@ -53,7 +53,7 @@ for file in $files; do
$file $file
fi fi
done done
else elif test ".`file $file | grep text\|shell`" != "." ; then
sed -e "s,$prefix,$new_prefix,g" < $file > $file.tmp sed -e "s,$prefix,$new_prefix,g" < $file > $file.tmp
mv -f $file.tmp $file mv -f $file.tmp $file
fi fi
......
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