tomhrr / dale

Lisp-flavoured C
BSD 3-Clause "New" or "Revised" License
1.02k stars 48 forks source link

CMake uses wrong flags for arch linux #164

Closed porky11 closed 6 years ago

porky11 commented 7 years ago

In arch linux, libtinfo is not available, but libncurses is. The test at following line may be wrong

https://github.com/tomhrr/dale/blob/a738372ac080f29c9762007a3ea049b6d9e0e94f/CMakeLists.txt#L145

tomhrr commented 7 years ago

This should now be fixed. I hadn't realised that between 3.4 and 3.5, part of the output of llvm-config --ldflags had moved to the output of the new --system-libs flag. CMakeLists.txt now handles this correctly.