On Fri, 25 Jan 2008, Peter Strömberg wrote:
Eh, why not just use libGL.so so it will find any available version?
I thought about this too. But what version will it use
when there are multiple version installed? For example libGL.so.5.1 and
libGL.so.6.0.
Like we do in firefox:
patch-gfx_src_psshared_nsCUPSShim_cpp:- mCupsLib =
PR_LoadLibrary("libcups.so.2");
patch-gfx_src_psshared_nsCUPSShim_cpp:+ mCupsLib =
PR_LoadLibrary("libcups.so");
patch-modules_libpref_src_init_all_js:-pref("font.freetype2.shared-library",
"libfreetype.so.6");
patch-modules_libpref_src_init_all_js:+pref("font.freetype2.shared-library",
"libfreetype.so");
patch-widget_src_gtk2_nsSound_cpp:- elib = PR_LoadLibrary("libesd.so.0");
patch-widget_src_gtk2_nsSound_cpp:+ elib = PR_LoadLibrary("libesd.so");
With sdl it is loaded on runtime, it can also be overridden
using and environment variable. Does that matter?
--
Antti Harri