summaryrefslogtreecommitdiffstats
path: root/Configurations/README
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-11-10 01:00:17 +0100
committerRichard Levitte <levitte@openssl.org>2016-11-10 15:51:43 +0100
commit473a954771508f4d488bfba5fc7699fe8b45bdcf (patch)
treec584d21092e367bd6c41fe19cf493f5a09a0db85 /Configurations/README
parent186a31e510d1326063cfeca17e58fadec236ad2a (diff)
Document how to force linking with static libraries
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1889)
Diffstat (limited to 'Configurations/README')
-rw-r--r--Configurations/README11
1 files changed, 11 insertions, 0 deletions
diff --git a/Configurations/README b/Configurations/README
index 0b82dedca9..21a6f036f8 100644
--- a/Configurations/README
+++ b/Configurations/README
@@ -339,6 +339,17 @@ source as well. However, the files given through SOURCE are expected
to be located in the source tree while files given through DEPEND are
expected to be located in the build tree)
+It's also possible to depend on static libraries explicitely:
+
+ DEPEND[foo]=libsomething.a
+ DEPEND[libbar]=libsomethingelse.a
+
+This should be rarely used, and care should be taken to make sure it's
+only used when supported. For example, native Windows build doesn't
+support build static libraries and DLLs at the same time, so using
+static libraries on Windows can only be done when configured
+'no-shared'.
+
For some libraries, we maintain files with public symbols and their
slot in a transfer vector (important on some platforms). It can be
declared like this: