mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 20:03:10 +02:00
Remove loader_objfix.sh hack, it's only needed for very old OpenBSD versions.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20842 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a70fd19af3
commit
cfe0d9ff92
@ -35,9 +35,6 @@ distclean: clean
|
||||
|
||||
libloader.a: $(OBJS) stubs.s
|
||||
$(CC) -c ./stubs.s -o stubs.o
|
||||
ifeq ($(TARGET_OS),OpenBSD)
|
||||
./loader_objfix.sh
|
||||
endif
|
||||
$(AR) -r libloader.a $(OBJS) stubs.o
|
||||
$(RANLIB) libloader.a
|
||||
|
||||
|
@ -1,13 +0,0 @@
|
||||
#!/bin/sh
|
||||
# This script fixes up symbol mangling in GNU as code of stubs.s.
|
||||
# This file is licensed under the GPL, more info at http://www.fsf.org/
|
||||
if ! [ 'file stubs.o | grep ELF ' ] ; then
|
||||
for i in "export_names" \
|
||||
"printf" \
|
||||
"exp_EH_prolog" \
|
||||
"unk_exp1"
|
||||
do
|
||||
echo "fixing: $i=_$i"
|
||||
objcopy --redefine-sym "$i=_$i" stubs.o
|
||||
done
|
||||
fi
|
Loading…
Reference in New Issue
Block a user