Merge pull request #273803 from holmesmr/fix-gerbil-soname-darwin
gerbil: fix soname of libgerbil on darwin
This commit is contained in:
commit
972446d305
1 changed files with 3 additions and 0 deletions
|
@ -106,6 +106,9 @@ stdenv.mkDerivation rec {
|
||||||
./install.sh
|
./install.sh
|
||||||
(cd $out/bin ; ln -s ../gerbil/bin/* .)
|
(cd $out/bin ; ln -s ../gerbil/bin/* .)
|
||||||
runHook postInstall
|
runHook postInstall
|
||||||
|
'' + lib.optionalString stdenv.isDarwin ''
|
||||||
|
libgerbil="$(realpath "$out/gerbil/lib/libgerbil.so")"
|
||||||
|
install_name_tool -id "$libgerbil" "$libgerbil"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
dontStrip = true;
|
dontStrip = true;
|
||||||
|
|
Loading…
Reference in a new issue