gtest: build shared library

Arch provides shared library as well.
This commit is contained in:
Jan Tojnar 2018-11-18 11:49:00 +01:00
parent 3c67a29608
commit 1f6b095061
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

@ -3,6 +3,8 @@ stdenv.mkDerivation rec {
name = "gtest-${version}";
version = "1.8.1";
outputs = [ "out" "dev" ];
src = fetchFromGitHub {
owner = "google";
repo = "googletest";
@ -12,6 +14,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ninja ];
cmakeFlags = [
"-DBUILD_SHARED_LIBS=ON"
];
meta = with stdenv.lib; {
description = "Google's framework for writing C++ tests";
homepage = https://github.com/google/googletest;