]> git.sesse.net Git - vlc/commitdiff
Bug fix for *.a libraries.
authorChristophe Massiot <massiot@videolan.org>
Sun, 23 Nov 2003 14:00:25 +0000 (14:00 +0000)
committerChristophe Massiot <massiot@videolan.org>
Sun, 23 Nov 2003 14:00:25 +0000 (14:00 +0000)
extras/contrib/Makefile
extras/contrib/change_prefix.sh

index dabc1831227ecb67c383273266d7aaaa7d36351f..dd34263beaf880bfb08aa98dd0c0e177a7d13478 100644 (file)
@@ -2,7 +2,7 @@
 # Makefile : Build vlc-contrib files
 # ***************************************************************************
 # 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>
 # 
@@ -44,6 +44,7 @@ bin: contrib-macosx.tar.bz2
        ./change_prefix.sh tmp @@CONTRIB_PREFIX@@ $(PREFIX)
        (cd tmp; tar cf - .) | tar xf -
        rm -rf tmp
+       ranlib lib/*\.a
 
 clean-src: FORCE
        $(MAKE) -C src clean-src
index 553be58106548601f92a8f4c7d8c5e8e22310faa..62f3d1ac10b68684c343c88868b0bcb1afa44d4a 100755 (executable)
@@ -3,7 +3,7 @@
 # change_prefix.sh : allow to transfer a contrib dir
 # ***************************************************************************
 # 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>
 #
@@ -53,7 +53,7 @@ for file in $files; do
                           $file
       fi
     done
-  else
+  elif test ".`file $file | grep text\|shell`" != "." ; then
     sed -e "s,$prefix,$new_prefix,g" < $file > $file.tmp
     mv -f $file.tmp $file
   fi