glog: remove the "static" option
pkgsStatic.glog already has CMAKE_BUILD_SHARED set to OFF.
This commit is contained in:
parent
7e2c821e58
commit
4541012bdb
@ -1,4 +1,4 @@
|
||||
{ stdenv, lib, fetchFromGitHub, fetchpatch, cmake, perl, static ? false }:
|
||||
{ stdenv, lib, fetchFromGitHub, fetchpatch, cmake, perl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "glog";
|
||||
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
cmakeFlags = [ "-DBUILD_SHARED_LIBS=${if static then "OFF" else "ON"}" ];
|
||||
cmakeFlags = [ "-DBUILD_SHARED_LIBS=ON" ];
|
||||
|
||||
checkInputs = [ perl ];
|
||||
doCheck = false; # fails with "Mangled symbols (28 out of 380) found in demangle.dm"
|
||||
|
@ -193,9 +193,6 @@ in {
|
||||
gflags = super.gflags.override {
|
||||
enableShared = false;
|
||||
};
|
||||
glog = super.glog.override {
|
||||
static = true;
|
||||
};
|
||||
cdo = super.cdo.override {
|
||||
enable_all_static = true;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user