make it possible to disable perl on Win32
This commit is contained in:
parent
995ed6bd27
commit
443d4418fb
2 changed files with 7 additions and 3 deletions
|
@ -420,7 +420,7 @@
|
|||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
ExecutionBucket="10"
|
||||
AdditionalDependencies="Ws2_32.lib winmm.lib Iphlpapi.lib shlwapi.lib curl.lib perl510.lib pcre.lib libevent.lib nxml.lib"
|
||||
AdditionalDependencies="Ws2_32.lib winmm.lib Iphlpapi.lib shlwapi.lib curl.lib pcre.lib libevent.lib nxml.lib"
|
||||
OutputFile="../neostats.exe"
|
||||
LinkIncremental="1"
|
||||
AdditionalLibraryDirectories="C:\Perl\lib\CORE;..\lib"
|
||||
|
@ -975,11 +975,11 @@
|
|||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\win32\resource.h"
|
||||
RelativePath=".\win32\resource.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\win32\resource.h"
|
||||
RelativePath="..\..\src\win32\resource.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
*/
|
||||
|
||||
#include "neostats.h"
|
||||
#ifdef USE_PERL
|
||||
#include "services.h"
|
||||
#include "modules.h"
|
||||
#include "nsevents.h"
|
||||
|
@ -36,6 +37,7 @@
|
|||
#define PERLDEFINES
|
||||
#include "perlmod.h"
|
||||
|
||||
#pragma comment(lib, "perl510.lib")
|
||||
|
||||
extern void boot_DynaLoader (pTHX_ CV * cv);
|
||||
void dump_hash(HV *rethash);
|
||||
|
@ -1863,3 +1865,5 @@ void unload_perlextension(Module *mod)
|
|||
}
|
||||
free(mod->pm);
|
||||
}
|
||||
|
||||
#endif /* USE_PERL */
|
||||
|
|
Reference in a new issue