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