Hi all,
I'm still working on getting wine going on hpux, and I thought I should submit patches for more of the changes I've made. There were a couple of places in winegcc where there were some assumptions made about .so being the shared library extension and .exe.so being the executable suffix - There was a partial fix to handle .dylib for MacOS, but it wasn't well unified... I've created defines for SHLIBSUFFIX and EXESUFFIX in utils.h, and changed the places where .so or .exe.so was used to use the right define.
This does slightly change the logic of the code though --- the way it was written before, winegcc would have (partially) done the right thing given a .dylib file on linux, or given a .so file on MacOS... I think this was just an unintended side-effect of the way things were implemented- but I'm not 100% sure...
I've attached the patches I came up with - does this look reasonable?
Warren