• R
    Make it possible to give --libdir an absolute path · e454f3ad
    Richard Levitte 提交于
    With this, we introduce the make variable 'libdir', which differs from
    'LIBDIR' not only in casing, but also by being the absolute path to
    the library installation directory.  This variable is intentionally
    compatible with the GNU coding standards.
    
    When --libdir is given an absolute path, it is considered as a value
    according to GNU coding standards, and the variables LIBDIR and libdir
    will be this:
    
        LIBDIR=
        libdir=/absolute/path
    
    When --libdir is given a relative path (just the name of the desired
    library directory), or not given at all, it is considered as a
    "traditional" OpenSSL value, and the variables LIBDIR and libdir will
    be this:
    
        LIBDIR=relativepath
        libdir=$(INSTALLTOP)/$(LIBDIR)
    
    Fixes #5398
    Reviewed-by: NRich Salz <rsalz@openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/5446)
    e454f3ad
unix-Makefile.tmpl 44.2 KB