Engage DllMain on Windows. Partial backport from HEAD. Unlike HEAD,

it doesn't get engaged on __CYGWIN__, because I'm not sure is *all*
Cygwin installations are equipped with windows.h...
This commit is contained in:
Andy Polyakov
2005-04-07 16:06:03 +00:00
parent afe01cd3f6
commit 4d2b407ba2
3 changed files with 6 additions and 9 deletions

4
TABLE
View File

@@ -94,7 +94,7 @@ $rmd160_obj = asm/rm86-out.o
$rc5_obj = asm/r586-out.o
$dso_scheme = dlfcn
$shared_target= cygwin-shared
$shared_cflag =
$shared_cflag = -D_WINDLL
$shared_ldflag =
$shared_extension = .dll
$ranlib =
@@ -3569,7 +3569,7 @@ $rmd160_obj = asm/rm86-out.o
$rc5_obj = asm/r586-out.o
$dso_scheme = win32
$shared_target= cygwin-shared
$shared_cflag = -D_DLL
$shared_cflag = -D_WINDLL
$shared_ldflag = -mno-cygwin
$shared_extension = .dll
$ranlib =