build: fix build on FreeBSD with Meson 0.61.1
When building with Meson 0.61.1 on FreeBSD some archives become corrupted. This can be avoided by using 'llvm-ar' instead of 'ar'. Cc: stable@dpdk.org Signed-off-by: Karl Bonde Torp <k.torp@samsung.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
This commit is contained in:
parent
762cdb7b68
commit
4bab7ea60c
@ -31,6 +31,9 @@ if host_machine.system() == 'windows'
|
|||||||
pmdinfo += 'llvm-ar'
|
pmdinfo += 'llvm-ar'
|
||||||
endif
|
endif
|
||||||
pmdinfogen += 'coff'
|
pmdinfogen += 'coff'
|
||||||
|
elif host_machine.system() == 'freebsd'
|
||||||
|
pmdinfo += 'llvm-ar'
|
||||||
|
pmdinfogen += 'elf'
|
||||||
else
|
else
|
||||||
pmdinfo += 'ar'
|
pmdinfo += 'ar'
|
||||||
pmdinfogen += 'elf'
|
pmdinfogen += 'elf'
|
||||||
|
Loading…
Reference in New Issue
Block a user