bug-gnustep
[Top][All Lists]
Advanced

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

Re: [RFC]: Darwin framework patch


From: Quentin Mathé
Subject: Re: [RFC]: Darwin framework patch
Date: Fri, 15 Apr 2005 23:33:16 +0200

Le 14 avr. 05, à 19:04, Adam Fedor a écrit :

I think there has been some discussion of this and 'true' framework support on darwin before. There's a rambling statement in ld_lib_path.sh about how the darwin linker is misbehaving, but really it is our fault. When we link the framework (target.make:310) we set the install_name to the framework name, and dyld is smart to look for the library under that name rather than the actual link name (but only if DYLD_FRAMEWORK_PATH is set, of course, will it find it).

Two alternative solutions to avoid this dilemma would be to:

1. set the install_name to lib$(GNUSTEP_INSTANCE), so that it works like all other platforms 2. set the install_name to the absolute path to the framework (this is how Apple does it, but we don't necessarily know until install time where that is).

Well, in the mean time, perhaps I'll just apply this patch. It doesn't change any behavior, it just makes the current (perhaps in some people's opinion, broken) behavior work.

This patch is really welcome, I'm not sure the alternative solutions are really better.

Quentin.

--
Quentin Mathé
qmathe@club-internet.fr





reply via email to

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