liboauth: fix for new nss header layout
This commit is contained in:
parent
9304ae04d7
commit
4bba6650a6
@ -10,11 +10,12 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
propagatedBuildInputs = [ nss nspr ];
|
||||
|
||||
configureFlags = [ "--enable-nss" ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-I${nss.dev}/include/nss" ];
|
||||
|
||||
postInstall = ''
|
||||
substituteInPlace $out/lib/liboauth.la \
|
||||
--replace "-lnss3" "-L${nss.out}/lib -lnss3"
|
||||
@ -26,5 +27,4 @@ stdenv.mkDerivation rec {
|
||||
homepage = http://liboauth.sourceforge.net/;
|
||||
repositories.git = https://github.com/x42/liboauth.git;
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user