]> gcc.gnu.org Git - gcc.git/commit
modula-2,libgm2: Add undefined, dynamic_lookup to m2 libs links.
authorIain Sandoe <iain@sandoe.co.uk>
Sat, 17 Dec 2022 14:48:03 +0000 (14:48 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Sat, 31 Dec 2022 16:16:30 +0000 (16:16 +0000)
commit2d8c2fdc299034c85a0abfd7da31168d02a41d32
tree2044edcc4744af3966ce5125fd17169b1e24677a
parentebc41f9a817dbae01c7450cd33c1968318ce8df0
modula-2,libgm2: Add undefined, dynamic_lookup to m2 libs links.

The libm2 libraries are cross-linked, which means that we need to allow
symbols to be undefined at link time and then to be found at runtime.

This is implemented on Darwin by adding -undefined, dynamic_lookup to
the link command.

NOTE: It would probably be a better solution to rework the libraries
either to combine those that have inter-dependencies, or to reorder
the layering so the there is a fixed dependency tree.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
libgm2/ChangeLog:

* configure: Regenerate.
* configure.ac: Make a conditional for configurations targeting
Darwin.
* libm2cor/Makefile.am: Use -undefined,dynamic_lookup on Darwin.
* libm2iso/Makefile.am: Likewise.
* libm2log/Makefile.am: Likewise.
* libm2pim/Makefile.am: Likewise
* libm2min/Makefile.am: Likewise
* libm2cor/Makefile.in: Regenerate.
* libm2iso/Makefile.in: Regenerate.
* libm2log/Makefile.in: Regenerate.
* libm2min/Makefile.in: Regenerate.
* libm2pim/Makefile.in: Regenerate.
12 files changed:
libgm2/configure
libgm2/configure.ac
libgm2/libm2cor/Makefile.am
libgm2/libm2cor/Makefile.in
libgm2/libm2iso/Makefile.am
libgm2/libm2iso/Makefile.in
libgm2/libm2log/Makefile.am
libgm2/libm2log/Makefile.in
libgm2/libm2min/Makefile.am
libgm2/libm2min/Makefile.in
libgm2/libm2pim/Makefile.am
libgm2/libm2pim/Makefile.in
This page took 0.058466 seconds and 5 git commands to generate.