# HG changeset patch # User atmos4 # Date 1011415329 0 # Node ID f1efe9e556472443ee5369825164476069ed7c61 # Parent 05ad38cc03383700ca5a1bab9af435ec4e466a78 rewrites symbols in d_cpu.s on cygwin diff -r 05ad38cc0338 -r f1efe9e55647 mp3lib/Makefile --- a/mp3lib/Makefile Sat Jan 19 04:40:21 2002 +0000 +++ b/mp3lib/Makefile Sat Jan 19 04:42:09 2002 +0000 @@ -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 diff -r 05ad38cc0338 -r f1efe9e55647 mp3lib/mp3lib_objfix.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mp3lib/mp3lib_objfix.sh Sat Jan 19 04:42:09 2002 +0000 @@ -0,0 +1,14 @@ +#!/bin/sh +# This script fixes up symbol mangling in GNU as code of mp3lib. +# (c)2001-2002 by Felix Buenemann 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 +