From 30287d97a159d74965c87e2f1ffb82c3b99ffdf2 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 15 Feb 2020 00:44:27 +0300 Subject: Release version 1.1.1+10 Drop copyright notice from source code Use adhoc value for {libcrypto,libssl}.map prerequisite-specific variable include --- libcrypto/libcrypto/buildfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'libcrypto/libcrypto/buildfile') diff --git a/libcrypto/libcrypto/buildfile b/libcrypto/libcrypto/buildfile index 0b794ac..b5be1e2 100644 --- a/libcrypto/libcrypto/buildfile +++ b/libcrypto/libcrypto/buildfile @@ -1,5 +1,4 @@ # file : libcrypto/buildfile -# copyright : Copyright (c) 2018-2019 Code Synthesis Ltd # license : OpenSSL and SSLeay Licenses; see accompanying LICENSE file import imp_libs = libz%lib{z} @@ -22,7 +21,6 @@ lib{crypto}: {h }{** -buildinf-body} \ -poly1305/poly1305_base2_44} \ { def}{libcrypto} \ crypto/{file}{LPdir_*.c des/ncbc_enc.c} \ - {file}{libcrypto.map} \ $imp_libs # Symlinked where appropriate. @@ -34,8 +32,12 @@ tsys = $c.target.system i686 = ($c.target.cpu == 'i686') +linux = ($tclass == 'linux') +bsd = ($tclass == 'bsd') windows = ($tclass == 'windows') +lib{crypto}: file{libcrypto.map}: include = ($linux || $bsd ? adhoc : false) + # Build options. # # Drop -DOPENSSL_PIC and -D{L|B}_ENDIAN preprocessor options and define @@ -49,8 +51,8 @@ windows = ($tclass == 'windows') # c.poptions += -DLIBCRYPTO_BUILD -DZLIB -# Note that the upstream package uses -pthread compiler/linker option on -# Linux and FreeBSD. The option is currently unsupported by build2, so we use +# Note that the upstream package uses the -pthread compiler/linker option on +# Linux and FreeBSD. The option is unsupported by build2 so we pass # -D_REENTRANT and -lpthread preprocessor/linker options instead. # # Also note that on FreeBSD and Mac OS the upstream package also passes -- cgit v1.1