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.
This commit is contained in:
parent
c2aa4f2081
commit
041843e47e
20
CHANGES
20
CHANGES
@ -101,6 +101,26 @@
|
|||||||
|
|
||||||
Changes between 0.9.6e and 0.9.7 [XX xxx 2002]
|
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
|
*) Make sure any ENGINE control commands make local copies of string
|
||||||
pointers passed to them whenever necessary. Otherwise it is possible
|
pointers passed to them whenever necessary. Otherwise it is possible
|
||||||
the caller may have overwritten (or deallocated) the original string
|
the caller may have overwritten (or deallocated) the original string
|
||||||
|
Loading…
x
Reference in New Issue
Block a user