oniguruma: fix darwin install_name
This commit is contained in:
parent
dd02fae2c4
commit
6c189c9e28
@ -13,6 +13,11 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
prePatch = stdenv.lib.optional stdenv.isDarwin ''
|
||||
substituteInPlace cmake/dist.cmake \
|
||||
--replace '@executable_path/''${UP_DIR}/''${INSTALL_LIB}' $out'/''${INSTALL_LIB}'
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = https://github.com/kkos/oniguruma;
|
||||
description = "Regular expressions library";
|
||||
|
Loading…
Reference in New Issue
Block a user