aboutsummaryrefslogtreecommitdiff
path: root/openssl/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/buildfile')
-rw-r--r--openssl/buildfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/openssl/buildfile b/openssl/buildfile
index 2d0e680..ab25be9 100644
--- a/openssl/buildfile
+++ b/openssl/buildfile
@@ -49,6 +49,17 @@ for t: cxx{**.test...}
$d/exe{$n}: $d/libue{openssl}: bin.whole = false
}
+# Build options.
+#
+# Pass the copyright notice extracted from the COPYRIGHT file.
+#
+copyright = $process.run_regex(cat $src_root/COPYRIGHT, \
+ 'Copyright \(c\) (.+)\.', \
+ '\1')
+
+obj{agent/pkcs11/agent client/client}: \
+ cxx.poptions += -DOPENSSL_AGENT_COPYRIGHT=\"$copyright\"
+
# Generated options parser.
#
if $cli.configured