summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorpetarj@mips.com <petarj@mips.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-01 02:46:46 +0000
committerpetarj@mips.com <petarj@mips.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-01 02:46:46 +0000
commit532983bb8b2ad1b2f1572f63eea5a839089e47cc (patch)
treec1e50342847dda67a66b1e9cb19dd3d6b6ea955c /crypto
parentebc0e1dfdf04993d73087a92d3584b82936e15d2 (diff)
downloadchromium_src-532983bb8b2ad1b2f1572f63eea5a839089e47cc.zip
chromium_src-532983bb8b2ad1b2f1572f63eea5a839089e47cc.tar.gz
chromium_src-532983bb8b2ad1b2f1572f63eea5a839089e47cc.tar.bz2
[MIPS] Add additional directory for NSS libraries
Add correct path for NSS libraries on MIPS. Tested on Debian Wheezy. BUG=130022 TEST=build and run Chromium Review URL: https://chromiumcodereview.appspot.com/21029006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214931 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'crypto')
-rw-r--r--crypto/nss_util.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/crypto/nss_util.cc b/crypto/nss_util.cc
index 850d47d..2fb6cff 100644
--- a/crypto/nss_util.cc
+++ b/crypto/nss_util.cc
@@ -652,13 +652,15 @@ void LoadNSSLibraries() {
// For Debian derivatives NSS libraries are located here.
paths.push_back(base::FilePath("/usr/lib/nss"));
- // Ubuntu 11.10 (Oneiric) places the libraries here.
+ // Ubuntu 11.10 (Oneiric) and Debian Wheezy place the libraries here.
#if defined(ARCH_CPU_X86_64)
paths.push_back(base::FilePath("/usr/lib/x86_64-linux-gnu/nss"));
#elif defined(ARCH_CPU_X86)
paths.push_back(base::FilePath("/usr/lib/i386-linux-gnu/nss"));
#elif defined(ARCH_CPU_ARMEL)
paths.push_back(base::FilePath("/usr/lib/arm-linux-gnueabi/nss"));
+#elif defined(ARCH_CPU_MIPSEL)
+ paths.push_back(base::FilePath("/usr/lib/mipsel-linux-gnu/nss"));
#endif
// A list of library files to load.