Darwin, jit: Fix build [PR100613].
authorIain Sandoe <iain@sandoe.co.uk>
Thu, 5 Aug 2021 08:55:19 +0000 (09:55 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Wed, 18 Aug 2021 18:51:48 +0000 (19:51 +0100)
commit08defd9c4e4f8dc428f2f490705ab816af81a03d
tree6baa419e31f9f6240be99964b507e48e1d97ef14
parentd39367fa82d95b646f0587a442156069100ee245
Darwin, jit: Fix build [PR100613].

The generic unix build is not completely suitable for Darwin
platforms:

 * It is a convention to encode the library versioning in the
   binary and to have only one level of symlink for the installed
   files. This needs to be applied to the installation too.
 * The library needs to be built with its correct install name
   so that two-level library naming works.
 * The extension for shared libraries should be .dylib

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
PR jit/100613 - libgccjit should produce dylib on macOS

PR jit/100613

gcc/jit/ChangeLog:

* Make-lang.in: Provide clauses for Darwin hosts.
gcc/jit/Make-lang.in