mirror of
https://github.com/cuberite/libdeflate.git
synced 2025-09-26 04:40:31 -04:00

Allow building libdeflate without linking to any libc functions by using 'make FREESTANDING=1'. When using such a library build, the user will need to call libdeflate_set_memory_allocator() before anything else, since malloc() and free() will be unavailable. [Folded in fix from Ingvar Stepanyan to use -nostdlib, and made freestanding_tests() check that no libs are linked to.] Update https://github.com/ebiggers/libdeflate/issues/62