summaryrefslogtreecommitdiffstats
path: root/crypto/build.info
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-03-29 16:48:02 +0200
committerRichard Levitte <levitte@openssl.org>2016-03-30 11:22:42 +0200
commit84af71a916d0bfce4dde135e4a5fe60d75f4940c (patch)
tree5b39e6add40a06f3a621ee4aaf6a1040f3ac8deb /crypto/build.info
parentMake it possible to specify source files that will only be used for shared libs (diff)
downloadopenssl-84af71a916d0bfce4dde135e4a5fe60d75f4940c.tar.xz
openssl-84af71a916d0bfce4dde135e4a5fe60d75f4940c.zip
Break out DllMain from crypto/cryptlib.c and use it in shared libs only
Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'crypto/build.info')
-rw-r--r--crypto/build.info4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/build.info b/crypto/build.info
index 217dc62430..1b4ed1434a 100644
--- a/crypto/build.info
+++ b/crypto/build.info
@@ -31,3 +31,7 @@ GENERATE[arm64cpuid.S]=arm64cpuid.pl $(PERLASM_SCHEME)
INCLUDE[arm64cpuid.o]=.
GENERATE[armv4cpuid.S]=armv4cpuid.pl $(PERLASM_SCHEME)
INCLUDE[armv4cpuid.o]=.
+
+IF[{- $config{target} =~ /^(?:Cygwin|mingw|VC-)/ -}]
+ SHARED_SOURCE[../libcrypto]=dllmain.c
+ENDIF