Merge pull request #67503 from risicle/ris-poco-cctz-darwin
poco, cctz: enable for darwin
This commit is contained in:
commit
761cfbf986
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub }:
|
{ stdenv, fetchFromGitHub, darwin }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "cctz-${version}";
|
name = "cctz-${version}";
|
||||||
@ -13,8 +13,14 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
makeFlags = [ "PREFIX=$(out)" ];
|
makeFlags = [ "PREFIX=$(out)" ];
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Foundation;
|
||||||
|
|
||||||
installTargets = [ "install_hdrs" "install_shared_lib" ];
|
installTargets = [ "install_hdrs" "install_shared_lib" ];
|
||||||
|
|
||||||
|
postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||||
|
install_name_tool -id $out/lib/libcctz.so $out/lib/libcctz.so
|
||||||
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -28,6 +28,5 @@ stdenv.mkDerivation rec {
|
|||||||
description = "Cross-platform C++ libraries with a network/internet focus";
|
description = "Cross-platform C++ libraries with a network/internet focus";
|
||||||
license = licenses.boost;
|
license = licenses.boost;
|
||||||
maintainers = with maintainers; [ orivej ];
|
maintainers = with maintainers; [ orivej ];
|
||||||
platforms = platforms.linux;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user