"Ross McFarland" <[EMAIL PROTECTED]> wrote:
there's also a really hacky win32 thing tacked on the end that removes
the lib from the front, but it would only work for cases without a path.
i can do the same, but that's pretty broken as is and it would seem you'd
need to do the opposite if the lib was specified in win32 speak and
you're running on unix-y system.
Taking the "lib" off the start on Win32 always felt a little hacky to
me...it's certainly not a hard and fast rule but does apply in some cases.
I guess it's a last-ditch effort - that whole chunk of code feels very
"let's try everything we can possibly think of". I think it's worth
remembering that NCI = *Native* Calling Interface, so by using it you are
inherently doing something platform specific anyway. We can only hide away
platform differences so far...the question is how far should we go.
Jonathan