winewrapper: On MacOS add /usr/X11/lib to DYLD_FALLBACK_LIBRARY_PATH

Joerg-Cyril.Hoehle at Joerg-Cyril.Hoehle at
Thu Jul 2 08:00:22 CDT 2009


This patch allows libfreetype (closing bug 17674) and libpng (now that configure detects it) to be found by dlopen().
It is needed in Leopard with a plain Wine build by configure && make without MacPorts or Fink.

I've been careful to add /usr/X11/lib at the end of *_FALLBACK_*, so that if MacPorts or Fink provide their own X, freetype, libpng etc. /usr/X11/lib will be looked up last.

Last Monday, I sent this patch to the maintainers of MacPorts and Fink and to Mike Kronenberg to query, before submitting to wine-patches, whether it might disturb their build environments.  Mine is plain MacOS 10.5.7 + XQuartz + Xcode 3.x.  Nobody complained. No news is good news.

	Jörg Höhle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winewrapper.patch
Type: application/octet-stream
Size: 916 bytes
Desc: winewrapper.patch
URL: <>

More information about the wine-patches mailing list