Home GnuPG
Diffusion Scute d551cf9884c2

Fix build on MacOS.

Description

Fix build on MacOS.

* configure.ac (HAVE_DARWIN_SYSTEM): New conditional.
* src/Makefile.am: On MacOS, do not use the -module flag and name
the library libscute instead of scute.
* tests/Makefile.am: Link against libscute accordingly.

On MacOS, having the library named 'scute' instead of 'libscute'
had the side effect of leading Libtool to produce a bundle (.so)
instead of the expected shared library (.dylib).

  • GnuPG-bug-id: T4703
  • Signed-off-by: Damien Goutte-Gattat <dgouttegattat@incenp.org>

Details

Provenance
gouttegdAuthored on Sep 9 2019, 8:43 PM
Parents
rSad7b7ad4f844: Update documentation files.
Branches
Unknown
Tags
Unknown
Tasks
T4703: Scute > 1.4.0 does not work with MacOS X