Merge pull request #39393 from LnL7/oniguruma-darwin

oniguruma: remove darwin install_name patch
This commit is contained in:
Daiderd Jordan 2018-04-24 00:47:20 +02:00 committed by GitHub
commit f220f1874b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,16 +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 = {
meta = with stdenv.lib; {
homepage = https://github.com/kkos/oniguruma;
description = "Regular expressions library";
license = stdenv.lib.licenses.bsd2;
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
platforms = with stdenv.lib.platforms; unix;
license = licenses.bsd2;
maintainers = with maintainers; [ fuuzetsu ];
platforms = platforms.unix;
};
}