Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Libtoolize.cmake: fix broken create_libtool_file() macro #207

Merged
merged 1 commit into from
Feb 11, 2020

Conversation

metux
Copy link
Contributor

@metux metux commented Feb 11, 2020

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

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>
@mhugo
Copy link
Contributor

mhugo commented Feb 11, 2020

@metux Thanks for the fix !

@mhugo mhugo merged commit 8d58f40 into Oslandia:master Feb 11, 2020
@Algunenano Algunenano mentioned this pull request Apr 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants