bug-gnulib
[Top][All Lists]
Advanced

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

Re: Relocatable packages, once again


From: Paolo Bonzini
Subject: Re: Relocatable packages, once again
Date: Wed, 11 Feb 2009 13:57:53 +0100
User-agent: Thunderbird 2.0.0.19 (Macintosh/20081209)

Ivan Levashew wrote:
> Paolo Bonzini wrote:
>>
>> Properly fixing this would require hacking Apple's install_name_tool
>> into libtool.
>>
> Not a problem, I suppose. I have a proof of concept solution:
> 
> http://mid.gmane.org/1224052823.48f5905744a99%40mail.bluebottle.com
> 
> My problem is that --enable-relocatable is not present in GTK+
> libraries.

This is something that you have to fix in GTK+.  What I suggest is to
avoid gnulib's autoconf macros (rewrite them) but keep its relocatable.c
file.

You need to add to GTK+ the code to use the relocate functions when
finding the resources related to the library.  This needs to find the
library path, which relocatable.c does but not on Mac OS X; adding this
feature would be a good task for gnulib too.

For programs' resources instead the resources should be found in a path
related to the program's path.  You can also use the relocatable.c file
here.  In general, this part is easier to do since most platforms
including Mac OS X have a way to find the executable.

Paolo




reply via email to

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