rbutil: Rename libbzip2.a to libbz2.a.

When cross compiling for Windows (at least mxe) links bz2, causing both
our copy and the system one getting linked, resulting in symbol clashes.
Make sure we use the same name as the system one, so the linker can pick
one of both.

Change-Id: I16213a20f48d4e192cd0b756931f9ccb449fd1c0
This commit is contained in:
Dominik Riebeling 2020-10-21 22:17:11 +02:00
parent 02c5dd3641
commit 1e12990ba9
4 changed files with 10 additions and 11 deletions

View file

@ -10,6 +10,6 @@
LIBSOURCES := blocksort.c compress.c decompress.c randtable.c \
bzlib.c crctable.c huffman.c
OUTPUT := bzip2
OUTPUT := bz2
include ../libtools.make