More Unix compatibility: Add "lib" prefix in case the module name doesn't
authorTor Lillqvist <tml@iki.fi>
Tue, 9 Oct 2001 20:40:19 +0000 (20:40 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Tue, 9 Oct 2001 20:40:19 +0000 (20:40 +0000)
commitceea1612c4cb7b0c085e8487eb03c2177ad83f3b
treeed39bd0e9b5b7ed206e4f12b1767b3166adc739c
parenta033f12d13c348730a68f3ff91f0e89c3a72492f
More Unix compatibility: Add "lib" prefix in case the module name doesn't

2001-10-09  Tor Lillqvist  <tml@iki.fi>

* gmodule-win32.c (_g_module_build_path): More Unix compatibility:
Add "lib" prefix in case the module name doesn't already have it,
except if it ends with ".dll" (in which case it probably already
is the name of an existing DLL). This is needed for instance for
the gdk-pixbuf loaders, which are called "lib*.dll", but
gdk-pixbuf-io calls g_module_build_path without the "lib" prefix.
gmodule/ChangeLog
gmodule/gmodule-win32.c