nixpkgs-suyu/pkgs/development/compilers/gerbil
Michael Holmes e6364478be gerbil: fix soname of libgerbil on darwin
The soname/identification of libgerbil on darwin is not correctly fixed up,
resulting in any binaries linked with libgerbil to attempt to link to
libgerbil in the temporary build dir from the gerbil derivation. This
means that any compiled gerbil program won't work as the propagated soname
will result in the binary being unable to correctly link with libgerbil.

Adding an Darwin-only step to use `install_name_tool` to fix up the soname
of libgerbil fixes this issue. We're using realpath here as the qualified
path to `libgerbil` is `$out/gerbil/$version/lib/libgerbil.so` and this is
an easier way to obtain the qualified path.

Fixes NixOS/nixpkgs#272967.
2023-12-12 10:26:12 -05:00
..
build.nix gerbil: fix soname of libgerbil on darwin 2023-12-12 10:26:12 -05:00
default.nix
ftw.nix gerbilPackages-unstable: library updates 2023-12-05 21:32:26 -05:00
gerbil-crypto.nix gerbilPackages-unstable: library updates 2023-12-05 21:32:26 -05:00
gerbil-ethereum.nix gerbilPackages-unstable: library updates 2023-12-05 21:32:26 -05:00
gerbil-leveldb.nix
gerbil-libp2p.nix
gerbil-libxml.nix
gerbil-libyaml.nix
gerbil-lmdb.nix
gerbil-mysql.nix
gerbil-persist.nix gerbilPackages-unstable: library updates 2023-12-05 21:32:26 -05:00
gerbil-poo.nix gerbilPackages-unstable: library updates 2023-12-05 21:32:26 -05:00
gerbil-support.nix
gerbil-utils.nix gerbilPackages-unstable: library updates 2023-12-05 21:32:26 -05:00
glow-lang.nix gerbilPackages-unstable: library updates 2023-12-05 21:32:26 -05:00
smug-gerbil.nix
unstable.nix