mirror of
https://github.com/libretro/libretro-super
synced 2024-11-28 11:14:11 +00:00
Update retrolink.sh
This commit is contained in:
parent
6fa72bee88
commit
c0b3bc2ac4
@ -1,6 +1,7 @@
|
||||
#!/bin/bash
|
||||
#RetroLink - Allows a library or executable to link to any symbols, without version restrictions
|
||||
#Usage: ./retrolink foobar_libretro.so
|
||||
#http://www.lightofdawn.org/wiki/wiki.cgi/NewAppsOnOldGlibc
|
||||
|
||||
start=$(readelf -V $1 | grep -A1 .gnu.version_r | tail -n1 | cut -d' ' -f6)
|
||||
pos=$(readelf -V $1 | grep 'Flags: none' | cut -d' ' -f3 | sed 's/://')
|
||||
|
Loading…
Reference in New Issue
Block a user