libssh: don't use multiple outputs

Makes cmake files point to the correct output
for libs and corrects the Cflags in the .pc
file.

Fixes #60036
This commit is contained in:
worldofpeace 2019-04-23 23:43:35 -04:00
parent 8f33fb5183
commit 0154d51338

View File

@ -13,7 +13,8 @@ stdenv.mkDerivation rec {
sed -i 's,nacl/,sodium/,g' ./include/libssh/curve25519.h src/curve25519.c sed -i 's,nacl/,sodium/,g' ./include/libssh/curve25519.h src/curve25519.c
''; '';
outputs = [ "out" "dev" ]; # single output, otherwise cmake and .pc files point to the wrong directory
# outputs = [ "out" "dev" ];
buildInputs = [ zlib openssl libsodium ]; buildInputs = [ zlib openssl libsodium ];