liboauth: add nss3
path to liboauth.la
Fixes the following libgdata build error: ``` CCLD gdata/libgdata.la /nix/store/5kdjp8200hazaydx0dmwn5qghqkyi3py-binutils-2.23.1/bin/ld: cannot find -lssl3 /nix/store/5kdjp8200hazaydx0dmwn5qghqkyi3py-binutils-2.23.1/bin/ld: cannot find -lsmime3 /nix/store/5kdjp8200hazaydx0dmwn5qghqkyi3py-binutils-2.23.1/bin/ld: cannot find -lnss3 /nix/store/5kdjp8200hazaydx0dmwn5qghqkyi3py-binutils-2.23.1/bin/ld: cannot find -lnssutil3 collect2: error: ld returned 1 exit status ```
This commit is contained in:
parent
a111fa517e
commit
996a0a9abf
@ -13,6 +13,11 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
configureFlags = [ "--enable-nss" ];
|
configureFlags = [ "--enable-nss" ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
substituteInPlace $out/lib/liboauth.la \
|
||||||
|
--replace "-lnss3" "-L${nss}/lib -lnss3"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
description = "C library implementing the OAuth secure authentication protocol";
|
description = "C library implementing the OAuth secure authentication protocol";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user