lix-releng-staging/tests/unit
Qyriad e54d4c9381 build: fix static linking with a hack
This causes libstore, libexpr, libfetchers, and libutil to be linked
with -Wl,--whole-archive to executables, when building statically.

libstore for the store backends, libexpr for the primops, libfetchers
for the fetcher backends I assume(?), and libutil for the nix::logger
initializer (which notably shows in pre-main constructors when HOME is
not owned by the user. cursed.).

This workaround should be removed when #359 is fixed.

Fixes #306.

Change-Id: Ie9ef0154e09a6ed97920ee8ab23810ca5e2de84c
2024-05-31 21:47:16 -06:00
..
libcmd util.hh: Delete remaining file and clean up headers 2024-05-29 12:38:51 +02:00
libexpr remove the autoconf+Make buildsystem 2024-05-07 17:04:30 -06:00
libexpr-support/tests remove the autoconf+Make buildsystem 2024-05-07 17:04:30 -06:00
libstore Revert "tests/filetransfer: reënable on Darwin" 2024-05-30 21:38:32 +00:00
libstore-support/tests util.hh: Delete remaining file and clean up headers 2024-05-29 12:38:51 +02:00
libutil util.hh: Delete remaining file and clean up headers 2024-05-29 12:38:51 +02:00
libutil-support/tests util.hh: Delete remaining file and clean up headers 2024-05-29 12:38:51 +02:00
meson.build build: fix static linking with a hack 2024-05-31 21:47:16 -06:00