[Mplayer-cvslog] CVS: main/mp3lib mp3lib_objfix.sh,NONE,1.1 Makefile,1.22,1.23
Atmosfear
atmos4 at mplayer.dev.hu
Sat Jan 19 05:42:12 CET 2002
Update of /cvsroot/mplayer/main/mp3lib
In directory mplayer:/var/tmp.root/cvs-serv26462/mp3lib
Modified Files:
Makefile
Added Files:
mp3lib_objfix.sh
Log Message:
rewrites symbols in d_cpu.s on cygwin
--- NEW FILE ---
#!/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"
do
echo "fixing: $i=_$i"
objcopy --redefine-sym "$i=_$i" libMP3.a
done
Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/mp3lib/Makefile,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- Makefile 15 Jan 2002 21:00:20 -0000 1.22
+++ Makefile 19 Jan 2002 04:42:09 -0000 1.23
@@ -42,6 +42,9 @@
libMP3.a: $(OBJS)
$(AR) r libMP3.a $(OBJS)
+ifeq ($(TARGET_OS),CYGWIN)
+ ./mp3lib_objfix.sh
+endif
test1: libMP3.a test.c
$(CC) $(CFLAGS) test.c ../libvo/aclib.c -o test1 -I.. -L. -lMP3 -lm
More information about the MPlayer-cvslog
mailing list