diff options
| author | Anders F Bjorklund | 2012-06-10 17:30:01 +0200 |
|---|---|---|
| committer | Jack Nagel | 2012-06-12 18:21:58 -0500 |
| commit | 863292fc7325791b751bd6c3657b4c14a77a5e28 (patch) | |
| tree | afd576abb4c1bdfd90cecaea5245cf82d4a43b91 /Library | |
| parent | c9c8b6eb0499beb18f4d5ffc1ca4e9f322c3c168 (diff) | |
| download | homebrew-863292fc7325791b751bd6c3657b4c14a77a5e28.tar.bz2 | |
nss: remove the @executable_path from the dylibs
Closes #12720.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -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 |
