diff options
author | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-01-19 04:42:09 +0000 |
---|---|---|
committer | atmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-01-19 04:42:09 +0000 |
commit | f9c30c90ba368ef8292ba83331160ceb54697295 (patch) | |
tree | a8114f94c84b9dde3f82d953f2298f28801e5b3c /mp3lib | |
parent | 4c78cc3b3871627f89d55f4c0a1512bc84078bb1 (diff) | |
download | mpv-f9c30c90ba368ef8292ba83331160ceb54697295.tar.bz2 mpv-f9c30c90ba368ef8292ba83331160ceb54697295.tar.xz |
rewrites symbols in d_cpu.s on cygwin
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4245 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp3lib')
-rw-r--r-- | mp3lib/Makefile | 3 | ||||
-rwxr-xr-x | mp3lib/mp3lib_objfix.sh | 14 |
2 files changed, 17 insertions, 0 deletions
diff --git a/mp3lib/Makefile b/mp3lib/Makefile index f3230990bc..31dd14f231 100644 --- a/mp3lib/Makefile +++ b/mp3lib/Makefile @@ -42,6 +42,9 @@ endif 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 diff --git a/mp3lib/mp3lib_objfix.sh b/mp3lib/mp3lib_objfix.sh new file mode 100755 index 0000000000..efc6f5f809 --- /dev/null +++ b/mp3lib/mp3lib_objfix.sh @@ -0,0 +1,14 @@ +#!/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 + |