Checkout
Philip Martin
committed
on 21 Jul 17
Disable static builds of the apache and auth provider modules as
these are only ever used via dlopen() and so only shared modules
are requir… Show more
Disable static builds of the apache and auth provider modules as

these are only ever used via dlopen() and so only shared modules

are required.  As well as removing redundant compilation this

also solves the problem that KDE5, as used by the kwallet auth

provider, does not support compilation without -fPIC.

* build/generator/gen_base.py

 (TargetSharedOnlyLib, TargetSharedOnlyCxxLib): New target types to

  provide explicit compile/link commands for shared-only builds.

* build.conf

 (libsvn_auth_gnome_keyring): Change to shared-only-lib.

 (libsvn_auth_kwallet): Change to shared-only-cxx-lib.

* Makefile.in

 (COMPILE_APACHE_MOD, LINK_APACHE_MOD): Add -shared.

 (COMPILE_SHARED_ONLY_LIB, COMPILE_SHARED_ONLY_CXX_LIB,

  LINK_SHARED_ONLY_LIB, LINK_SHARED_ONLY_CXX_LIB,

  shared_only_LDFLAGS): New.

 (libsvn_auth_gnome_keyring_LDFLAGS, libsvn_auth_kwallet_LDFLAGS): Remove.

* configure.ac

 (shared_only_LDFLAGS): New.

 (libsvn_auth_gnome_keyring_LDFLAGS, libsvn_auth_kwallet_LDFLAGS): Remove.

Show less