Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try loading NSS by simple name first (fixes issue #4) #9

Merged
merged 1 commit into from
Apr 30, 2013
Merged

Try loading NSS by simple name first (fixes issue #4) #9

merged 1 commit into from
Apr 30, 2013

Conversation

rekado
Copy link
Contributor

@rekado rekado commented Apr 28, 2013

On Fedora 18 (and possibly other GNU/Linux distributions), the NSS library is not located in /usr/lib/firefox/xulrunner/ which is the path returned by Services.dirsvc.get("GreD", Ci.nsILocalFile). The library can be loaded when only its name is provided.

This commit patches the initialisation code such that the simple name is tried first. If the library cannot be found, the full path is tried instead.

daviddahl added a commit that referenced this pull request Apr 30, 2013
Try loading NSS by simple name first (fixes issue #4)
@daviddahl daviddahl merged commit e823895 into daviddahl:master Apr 30, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants