|
From: | Tim Ringenbach |
Subject: | Re: [gnutls-dev] gnutls's sonames |
Date: | Sat, 12 Mar 2005 09:00:05 -0600 |
User-agent: | Mozilla Thunderbird 0.8 (X11/20041020) |
Matthias Urlichs wrote:
Hi, Thanks for the explanation. So you'd ship many versions of your lib, linked against different gnutls versions, and then use the one that actually works on the system in question -- correct?
Yeah that's the current plan. Except it's a plugin, not a library. So gaim is g_module_open()ing (which is just glib's dlopen wrapper) all the plugins it finds anyway. The loading would just fail all but the plugin who's version of gnutls is installed.
Alternatively, I could just build one plugin and have the plugin dlopen gnutls, trying several versions it knows it works with. I could even use Mike Hearn's relaytool to do this without having to change the code to use function pointers anyway. But the other gaim developers seem to think the multiple gnutls plugins approch is better.
--Tim
[Prev in Thread] | Current Thread | [Next in Thread] |