Skip to content

Libtoolize.cmake: fix broken create_libtool_file() macro

Enrico Weigelt requested to merge github/fork/oss-qm/submit/fix_libtoolize into master

The .la files are installed in hardcoded at location at: ${CMAKE_INSTALL_PREFIX}/lib

This is completely wrong on most distros - especially 64 bit, where libraries are placed at /lib64 or /usr/lib64.

Fixing to use ${CMAKE_INSTALL_LIBDIR}, so the files are placed into the library directory given by the packager / operator.

Signed-off-by: Enrico Weigelt, metux IT consult info@metux.net

Merge request reports