pkgsStatic: set BUILD_SHARED_LIBS=OFF for cmake

This commit is contained in:
Dmitry Kalinkin 2019-12-29 15:40:52 -05:00
parent 5ca7a7d882
commit d05ee9c8ff
No known key found for this signature in database
GPG key ID: 06AF1D3C38F04E0E

View file

@ -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" ];
});
};