x265: mingw support bugfix
part of a larger effort to add mingw support for qtmultimedia cross compiling ffmpeg fails without this change
This commit is contained in:
parent
3891b2df99
commit
7ed91d089c
1 changed files with 4 additions and 0 deletions
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue