When preparing a separate build tree, don't make softlinks to softlinks.
Add instructions in INSTALL, for easy access. PR: 437
This commit is contained in:
parent
8d2511688d
commit
4a9476dd8d
2 changed files with 21 additions and 1 deletions
2
CHANGES
2
CHANGES
|
@ -529,7 +529,7 @@ TODO: bug: pad x with leading zeros if necessary
|
||||||
# is assumed to contain the absolute OpenSSL source directory.
|
# is assumed to contain the absolute OpenSSL source directory.
|
||||||
mkdir -p objtree/"`uname -s`-`uname -r`-`uname -m`"
|
mkdir -p objtree/"`uname -s`-`uname -r`-`uname -m`"
|
||||||
cd objtree/"`uname -s`-`uname -r`-`uname -m`"
|
cd objtree/"`uname -s`-`uname -r`-`uname -m`"
|
||||||
(cd $OPENSSL_SOURCE; find . -type f -o -type l) | while read F; do
|
(cd $OPENSSL_SOURCE; find . -type f) | while read F; do
|
||||||
mkdir -p `dirname $F`
|
mkdir -p `dirname $F`
|
||||||
ln -s $OPENSSL_SOURCE/$F $F
|
ln -s $OPENSSL_SOURCE/$F $F
|
||||||
done
|
done
|
||||||
|
|
20
INSTALL
20
INSTALL
|
@ -308,3 +308,23 @@
|
||||||
to install additional support software to obtain random seed.
|
to install additional support software to obtain random seed.
|
||||||
Please check out the manual pages for RAND_add(), RAND_bytes(), RAND_egd(),
|
Please check out the manual pages for RAND_add(), RAND_bytes(), RAND_egd(),
|
||||||
and the FAQ for more information.
|
and the FAQ for more information.
|
||||||
|
|
||||||
|
Note on support for multiple builds
|
||||||
|
-----------------------------------
|
||||||
|
|
||||||
|
OpenSSL is usually built in it's source tree. Unfortunately, this doesn't
|
||||||
|
support building for multiple platforms from the same source tree very well.
|
||||||
|
It is however possible to build in a separate tree through the use of lots
|
||||||
|
of symbolic links, which should be prepared like this:
|
||||||
|
|
||||||
|
mkdir -p objtree/"`uname -s`-`uname -r`-`uname -m`"
|
||||||
|
cd objtree/"`uname -s`-`uname -r`-`uname -m`"
|
||||||
|
(cd $OPENSSL_SOURCE; find . -type f) | while read F; do
|
||||||
|
mkdir -p `dirname $F`
|
||||||
|
ln -s $OPENSSL_SOURCE/$F $F
|
||||||
|
done
|
||||||
|
|
||||||
|
OPENSSL_SOURCE is an environment variable that contains the absolute (this
|
||||||
|
is important!) path to the OpenSSL source tree.
|
||||||
|
|
||||||
|
Also, operations like 'make update' should still be made in the source tree.
|
||||||
|
|
Loading…
Reference in a new issue