inikep / lzbench

lzbench is an in-memory benchmark of open-source LZ77/LZSS/LZMA compressors
894 stars 182 forks source link

Don't link rt on macOS. #134

Closed BrianPugh closed 1 week ago

BrianPugh commented 8 months ago

I had trouble compiling on an M1 mac running macOS Sonoma 14.3.1. I would get the following linker error:

ld: library 'rt' not found

To resolve this, I removed linking the rt library on macos, and this seems to have resolved my issues.