Skip to content

Commit

Permalink
re2: fix dylib library id
Browse files Browse the repository at this point in the history
(cherry picked from commit 6058539)
  • Loading branch information
LnL7 committed Sep 9, 2017
1 parent cc60167 commit ab0d743
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/development/libraries/re2/default.nix
Expand Up @@ -11,6 +11,10 @@ stdenv.mkDerivation rec {

preConfigure = ''
substituteInPlace Makefile --replace "/usr/local" "$out"
'' + stdenv.lib.optionalString stdenv.isDarwin ''
# Fixed in https://github.com/google/re2/commit/b2c9765b4a7afbea8b6be1dae548b6f4d5f39e42
substituteInPlace Makefile \
--replace '-dynamiclib' '-dynamiclib -Wl,-install_name,$(libdir)/libre2.so.$(SONAME)'
'';

meta = {
Expand Down

0 comments on commit ab0d743

Please sign in to comment.