Assemblers are always only a build dependency (#7974)

This commit is contained in:
Ed Reel
2023-02-22 06:11:05 -06:00
committed by GitHub
parent aeced19ede
commit bc3edd893e
2 changed files with 3 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ class Libxvid < Package
x86_64: 'e990606cef5b83dcffa96e6595538240934c6f926ca49701c165322811f8a44f'
})
depends_on 'yasm'
depends_on 'yasm' => :build
def self.build
FileUtils.cd('build/generic') do

View File

@@ -16,10 +16,10 @@ class P7zip_gui < Package
case ARCH
when 'x86_64'
depends_on 'yasm' # needed for compiling the faster asm binary
depends_on 'yasm' => :build # needed for compiling the faster asm binary
@_makefile = 'makefile.linux_amd64_asm'
when 'i686'
depends_on 'nasm' # needed for compiling the faster asm binary
depends_on 'nasm' => :build # needed for compiling the faster asm binary
@_makefile = 'makefile.linux_x86_asm_gcc_4.X'
else
@_makefile = 'makefile.linux_any_cpu'