cdrtools: fix aarch64-darwin build
This commit is contained in:
parent
0736e7e3a9
commit
3d39c9e931
1 changed files with 4 additions and 0 deletions
|
@ -16,6 +16,10 @@ stdenv.mkDerivation rec {
|
|||
sed "/\.mk3/d" -i libschily/Targets.man
|
||||
substituteInPlace man/Makefile --replace "man4" ""
|
||||
substituteInPlace RULES/rules.prg --replace "/bin/" ""
|
||||
'' + lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) ''
|
||||
ln -sv i386-darwin-clang64.rul RULES/arm64-darwin-cc.rul
|
||||
ln -sv i386-darwin-clang64.rul RULES/arm64-darwin-clang.rul
|
||||
ln -sv i386-darwin-clang64.rul RULES/arm64-darwin-clang64.rul
|
||||
'';
|
||||
|
||||
dontConfigure = true;
|
||||
|
|
Loading…
Reference in a new issue