diff options
| -rw-r--r-- | Library/Formula/nss.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/nss.rb b/Library/Formula/nss.rb index ebd1f46d2..709616de0 100644 --- a/Library/Formula/nss.rb +++ b/Library/Formula/nss.rb @@ -21,6 +21,10 @@ class Nss < Formula ] args << 'USE_64=1' if MacOS.prefer_64_bit? + # Remove the broken (for anyone but Firefox) install_name + inreplace "mozilla/security/coreconf/Darwin.mk", "-install_name @executable_path", "-install_name #{lib}" + inreplace "mozilla/security/nss/lib/freebl/config.mk", "@executable_path", lib + system "make", "build_coreconf", "build_dbm", "all", "-C", "mozilla/security/nss", *args # We need to use cp here because all files get cross-linked into the dist |
