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 --- libssl/libssl/buildfile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'libssl/libssl/buildfile') diff --git a/libssl/libssl/buildfile b/libssl/libssl/buildfile index 7be45fe..c114ccf 100644 --- a/libssl/libssl/buildfile +++ b/libssl/libssl/buildfile @@ -1,14 +1,18 @@ # file : libssl/buildfile -# copyright : Copyright (c) 2018-2019 Code Synthesis Ltd # license : OpenSSL and SSLeay Licenses; see accompanying LICENSE file import int_libs = libcrypto%lib{crypto} -lib{ssl}: {h c}{**} def{libssl} file{libssl.map} $int_libs +lib{ssl}: {h c}{**} def{libssl} $int_libs tclass = $c.target.class tsys = $c.target.system +linux = ($tclass == 'linux') +bsd = ($tclass == 'bsd') + +lib{ssl}: file{libssl.map}: include = ($linux || $bsd ? adhoc : false) + # Build options. # # Note that libssl doesn't use zlib directly. However, it may use @@ -23,8 +27,8 @@ c.poptions += -DZLIB # Drop -DOPENSSL_PIC, -D{L|B}_ENDIAN, -DOPENSSLDIR and -DENGINESDIR as they # are not used in the libssl source code nor in the libcrypto public headers. # -# 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