build of perl module on win32
Status: Beta
Brought to you by:
lettoz
I build the perl module on windows 7. Therefore variable declaration in XS-Code has to be moved into PREINIT-section because VC-Compiler stopped whith errors.
To avoid linker errors I had to add the declaration of setport/openSocket in nodave.h.
Makefile.PL was changed and works also on Win32 now, on Unix still works (tested).
MAKEFILE.VC.WINE was changed to compile libnodave.dll in native Win32, therefore the VCPATH/SDKPATH and CC/LL Makros should be commented in. MAKEFILE.VC.WINE as is SHOULD still work under wine (not yet tested)
I hope this helps.