view mp3lib/mp3lib_objfix.sh @ 9913:88fe89b46786

Add suffix support to the object list type. So now -vf-clr destroy the list -vf-add filer1=blah,filter append these 2 filters, -vf-pre ... will 'prepend' them. Finnaly -vf-del 2,3,-1 will delete the filters at at given indexs It start from 0, negative number start from the end of the list (so -1 is the last one).
author albeu
date Sat, 12 Apr 2003 13:45:43 +0000
parents d3b889d54a7a
children
line wrap: on
line source

#!/bin/sh
# This script fixes up symbol mangling in GNU as code of mp3lib.
# (c)2001-2002 by Felix Buenemann <atmosfear at users.sourceforge.net>A
# This file is licensed under the GPL, more info at http://www.fsf.org/
for i in \
	"CpuDetect" \
	"ipentium" \
	"a3dnow" \
	"isse" \
	"dct36_3dnowex" \
	"dct36_3dnow" \
	"x_plus_minus_3dnow" \
	"tfcos36" \
	"COS9"
do
echo "fixing: $i=_$i"
objcopy --redefine-sym "$i=_$i" libMP3.a
done