Re: [alpine-devel] [PATCH] testing/mednafen: new aport
On Wed, Nov 12, 2014 at 07:35:40PM +0000, Amat Coder wrote:
> That patch is because a wrapper is needed to make it work.
> Mednafen requires LD_PRELOAD=libGL.so because this library is not
> found by dlopen() with musl (same issue than firefox):
> So we need to rename executable to 'mednafen-bin' and to create a script
> called 'mednafen' to process:
> 'LD_PRELOAD=libGL.so exec mednafen-bin $_at_'
> Then, argv points to '/usr/bin/mendnafen-bin'
> which is not correct.
> argv it is only used when invoking '--help' so I changed to avoid
Thanks for the explanation.
What I'd meant to comment on was that argv does not include the path
unless you specify it in the command line: most people would run it as
"mednafen ...", so 's/argv/mednafen/g' would be nicer.
Received on Wed Nov 12 2014 - 11:57:42 GMT