Re: g_module_build_path on Win32



Tor Lillqvist wrote:
Eugene T writes:
> g_module_build_path prepends a "lib" prefix to module names on Win32, > which imitates the Unix behavior. Is there a technical reason for
 > this?

Not really, except that the "lib" prefix is used on Win32, too,
exactly in the kind of software that most often uses GLib
I.e. software which has been ported from GNOME/Unix, and which is
built using the GNU toolcahin (especially libtool).

 > this prevents the function from loading general purpose dll's in a
 > cross-platform way without reproducing the logic.

If one specifies the full name of the dll including the ".dll",
g_module_build_path() doesn prepend "lib".

is that full absolute name, or a "full basename?"

rick jones



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]