diff options
| author | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-07 22:28:53 +0000 |
|---|---|---|
| committer | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-07 22:28:53 +0000 |
| commit | 753e3bc7f3343d78b91b062da60a8f1a8854a215 (patch) | |
| tree | e5811dd2e9e9730f03e66eb0353a6487b262a5e1 /base | |
| parent | 942e202a50d64e0f21ebd872edcbfd857a320040 (diff) | |
| download | chromium_src-753e3bc7f3343d78b91b062da60a8f1a8854a215.zip chromium_src-753e3bc7f3343d78b91b062da60a8f1a8854a215.tar.gz chromium_src-753e3bc7f3343d78b91b062da60a8f1a8854a215.tar.bz2 | |
Add search path for NSS libraries
Distros other than ubuntu doesn't store nss libs in /usr/lib/nss so add
/usr/lib as a search path too.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/6800001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80854 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
| -rw-r--r-- | base/nss_util.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/base/nss_util.cc b/base/nss_util.cc index 9ca87e6..3293208 100644 --- a/base/nss_util.cc +++ b/base/nss_util.cc @@ -592,6 +592,9 @@ void LoadNSSLibraries() { // For Debian derivaties NSS libraries are located here. paths.push_back(FilePath("/usr/lib/nss")); + // For other distros use this path. + paths.push_back(FilePath("/usr/lib")); + // A list of library files to load. std::vector<std::string> libs; libs.push_back("libsoftokn3.so"); |
