Merge pull request #288688 from seanybaggins/add-mingw-support-x265

x265: mingw support bugfix
This commit is contained in:
Weijia Wang
2024-02-19 11:37:02 +01:00
committed by GitHub
@@ -139,6 +139,10 @@ stdenv.mkDerivation rec {
postInstall = ''
rm -f ${placeholder "out"}/lib/*.a
''
# For mingw, libs are located in $out/bin not $out/lib
+ lib.optionalString stdenv.hostPlatform.isMinGW ''
ln -s $out/bin/*.dll $out/lib
'';
meta = with lib; {