Skip to content

liblzma: Fix HAVE_INLINE and HAVE___INLINE checks

Brad King requested to merge brad.king/cmake:liblzma-fix-inline into master

The checks fail even on compilers that support the keywords because the linkage is broken:

src.c:...: undefined reference to 'test'

At the actual use sites we use static inline instead of just inline, so perform the check this way too to fix the linkage.

Merge request reports