qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] add QEMU_LD_PREFIX environment variable


From: Alexander Graf
Subject: Re: [Qemu-devel] [PATCH] add QEMU_LD_PREFIX environment variable
Date: Thu, 28 Jul 2011 19:28:23 +0200

On 28.07.2011, at 18:50, Geert Stappers wrote:

> On Thu, Jul 28, 2011 at 01:24:47PM +0200, Johannes Schauer wrote:
>> 
>> @Geert Stappers:
>> 
>> you are patching bsd-user/main.c and darwin-user/main.c as well. I take
>> it that you did test your changes on those platforms? does it work there
>> as well? I have no clue of darwin but is it really useful there?
> 
> They only check I did,
> was checking if BSD and Darwing have getenv(), they do.
> 
> I consider the 
> +    /* read interp_prefix from environment variable */
> +    if (getenv("QEMU_LD_PREFIX") != NULL) {
> +        interp_prefix = getenv("QEMU_LD_PREFIX");
> to Darwin and BSD as harmless. In fact only reason for those additional
> lines were to bring attention to those operating systems.

It's called DYLD_PRELOAD on Darwin :). However, I do think that if anything 
this should be an alias, so you can set either of the two. If anyone cares 
about darwin-user at all.


Alex




reply via email to

[Prev in Thread] Current Thread [Next in Thread]