From 041843e47e2c27b2e0711a9162195982311f2877 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 16 Jul 2002 09:19:37 +0000 Subject: [PATCH] For those wanting to build for several platforms with the same source directory, making a separate directory tree with lots of symbolic links seems to be the solution. Unfortunately, Configure doesn't take appropriate steps to support this solution (as in removing a file that's going to be rewritten). This change corrects that situation. Now I just have to find all other places where there's lack of support for this. --- CHANGES | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/CHANGES b/CHANGES index 7a30a305e3..89ec06fe85 100644 --- a/CHANGES +++ b/CHANGES @@ -101,6 +101,26 @@ Changes between 0.9.6e and 0.9.7 [XX xxx 2002] + *) Add appropriate support for separate platform-dependent build + directories. The recommended way to make a platform-dependent + build directory is the following (tested on Linux), maybe with + some local tweaks: + + # Place yourself outside of the OpenSSL source tree. In + # this example, the environment variable OPENSSL_SOURCE + # is assumed to contain the absolute OpenSSL source directory. + mkdir -p 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 + mkdir -p `dirname $F` + ln -s $OPENSSL_SOURCE/$F $F + done + + To be absolutely sure not to disturb the source tree, a "make clean" + is a good thing. If it isn't successfull, don't worry about it, + it probably means the source directory is very clean. + [Richard Levitte] + *) Make sure any ENGINE control commands make local copies of string pointers passed to them whenever necessary. Otherwise it is possible the caller may have overwritten (or deallocated) the original string -- 2.25.1