Skip to content
Commit d8c0faa9 authored by Damien Thébault's avatar Damien Thébault Committed by Thomas Petazzoni
Browse files

support/misc/toolchainfile.cmake.in: use TARGET_LDFLAGS for shared and module libraries



With cmake packages, we are only using TARGET_LDFLAGS for executables
and not for shared libraries.

This patch adds CMAKE_SHARED_LINKER_FLAGS and
CMAKE_MODULE_LINKER_FLAGS to the cmake toolchain file so that
buildroot TARGET_LDFLAGS are used for shared and module libraries.

Signed-off-by: default avatarDamien Thébault <damien.thebault@vitec.com>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@bootlin.com>
parent ba3c7e80
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment