Dynamically linking with a Unix library - or not

Huw D M Davies h.davies1 at physics.ox.ac.uk
Tue Jun 18 12:29:06 CDT 2002


On Tue, Jun 18, 2002 at 07:32:58PM +0300, Shachar Shemesh wrote:
> I am afraid that the consequence of B will be that no packager in his 
> right mind will use that option. As that works in direct contradiction 
> to the reason I entered the WINE project to begin with, I am trying to 
> opt for a better solution. I'm seeing two possible solutions to this 
> problem:
> A. If Fribidi was present during compile, check for its existance during 
> run time. If not present, don't enable the run time option.
> or
> B. Copy (port?) Fribidi into the WINE code. It's LGPL, so the license 
> does allow that.
> 
> The consequence of B is that I will need to keep an eye on Fribidi, and 
> keep it up to date whenever something changes there. I am very reluctant 
> to do so. I would much rather go for the "A" solution. The problem is 
> that I know how to do this in Windows, but not in Linux. Any help anyone 
> can offer me?

Have a look at dlls/gdi/freetype.c where we use wine_dlopen and
friends to do this with libfreetype.so

Huw.



More information about the wine-devel mailing list