mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
pkgsStatic: set BUILD_SHARED_LIBS=OFF for cmake
This commit is contained in:
parent
5ca7a7d882
commit
d05ee9c8ff
@ -60,6 +60,7 @@ rec {
|
||||
"--enable-static"
|
||||
"--disable-shared"
|
||||
];
|
||||
cmakeFlags = (args.cmakeFlags or []) ++ [ "-DBUILD_SHARED_LIBS:BOOL=OFF" ];
|
||||
mesonFlags = (args.mesonFlags or []) ++ [ "-Ddefault_library=static" ];
|
||||
});
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user