OpenAFS Master Repository branch, master, updated. BP-openafs-stable-1_8_x-503-g10d176a

Gerrit Code Review gerrit@openafs.org
Fri, 27 Dec 2019 20:51:03 -0500


The following commit has been merged in the master branch:
commit 10d176afd23bbf684017a7946dffb1d592ea04fa
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Wed Oct 23 15:46:16 2019 -0500

    Do not build shared-only libs for --disable-shared
    
    Commit 0f1e54c4 (Pass -shared when linking some shared libraries)
    changed some of our linking rules to pass -shared to libtool when
    linking. When building with the --disable-shared configure option,
    this causes those linker rules to fail, since shared libraries are
    disabled. Before commit 0f1e54c4, we could build with --disable-shared
    successfully.
    
    To allow us to build again with --disable-shared, just don't build the
    relevant shared-only libraries at all, when shared libraries are
    disabled. To accomplish this, introduce a new substitution variable,
    SHARED_ONLY, which allows certain lines in Makefiles to become
    commented-out when shared libraries are disabled. Update all of the
    shared-only libraries to be built conditionally based on this
    variable.
    
    Except for libuafs.la, which appears to be not referenced by anything.
    Just remove the rules for that instead.
    
    Change-Id: I82084a08d2f9c12ca438bd7b1626e1376159c975
    Reviewed-on: https://gerrit.openafs.org/13927
    Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
    Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>

 src/cf/options.m4              |    8 ++++++++
 src/crypto/hcrypto/Makefile.in |   21 ++++++++++++---------
 src/kopenafs/Makefile.in       |   25 ++++++++++++++-----------
 src/libafsauthent/Makefile.in  |   12 +++++++-----
 src/libafsrpc/Makefile.in      |   18 ++++++++++--------
 src/libuafs/Makefile.common.in |    3 ---
 src/roken/Makefile.in          |   17 ++++++++++-------
 7 files changed, 61 insertions(+), 43 deletions(-)

-- 
OpenAFS Master Repository