Merge lp:~albaguirre/unity-mir/cross-compile-link-fix into lp:unity-mir
Proposed by
Alberto Aguirre
Status: | Merged |
---|---|
Approved by: | Alberto Aguirre |
Approved revision: | 181 |
Merged at revision: | 185 |
Proposed branch: | lp:~albaguirre/unity-mir/cross-compile-link-fix |
Merge into: | lp:unity-mir |
Diff against target: |
52 lines (+8/-12) 3 files modified
src/modules/Unity/Application/CMakeLists.txt (+4/-6) src/unity-mir/CMakeLists.txt (+2/-4) tests/auto/modules/Unity/Application/CMakeLists.txt (+2/-2) |
To merge this branch: | bzr merge lp:~albaguirre/unity-mir/cross-compile-link-fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Gerry Boland (community) | Approve | ||
Review via email: mp+205690@code.launchpad.net |
Commit message
[cmake] Use XXX_LDFLAGS for libraries found with pkg_check_modules.
Using the pkg given LDFLAGS resolves linking issues when cross-compiling
Description of the change
[cmake] Use XXX_LDFLAGS for libraries found with pkg_check_modules.
Using the pkg given LDFLAGS resolves linking issues when cross-compiling as the libraries will not be in /usr/lib/...
but rather in some ${PREFIX}
pkg-config returns the correct path in to cmake in XXX_LDFLAGS, but the target cmake recipe linking the libraries has to use them.
To post a comment you must log in.
Is there any point in having the *_LIBRARIES variables at all?