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

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


Hi,

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 2.3.3.2 + Xcode 3.x.  Nobody complained. No news is good news.

Regards,
	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: <http://www.winehq.org/pipermail/wine-patches/attachments/20090702/42a37adc/attachment.obj>


More information about the wine-patches mailing list