We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
1 parent b5163bc commit 6058539Copy full SHA for 6058539
pkgs/development/libraries/re2/default.nix
@@ -11,6 +11,10 @@ stdenv.mkDerivation rec {
11
12
preConfigure = ''
13
substituteInPlace Makefile --replace "/usr/local" "$out"
14
+ '' + stdenv.lib.optionalString stdenv.isDarwin ''
15
+ # Fixed in https://github.com/google/re2/commit/b2c9765b4a7afbea8b6be1dae548b6f4d5f39e42
16
+ substituteInPlace Makefile \
17
+ --replace '-dynamiclib' '-dynamiclib -Wl,-install_name,$(libdir)/libre2.so.$(SONAME)'
18
'';
19
20
meta = {
0 commit comments