diff options
author | Jörg Krause <joerg.krause@embedded.rocks> | 2017-02-14 23:44:00 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-02-20 22:18:23 +0100 |
commit | ec52c7427f1a122250a883996c2377e311864542 (patch) | |
tree | 9f1fa98c117de2d253b039de8c63e0da8b3e8b51 /package/qt5/qt5quickcontrols/qt5quickcontrols.hash | |
parent | 7dd52cabc3eb43fc477af53bd7a817bac081e962 (diff) | |
download | buildroot-ec52c7427f1a122250a883996c2377e311864542.tar.gz buildroot-ec52c7427f1a122250a883996c2377e311864542.zip |
bctoolbox: add patch to fix static linking
Static linking with bctoolbox fails when using pkg-config as the
generated bctoolbox.pc file only consists of an '-L' string without any
search path or libraries flags:
```
libtool: link: need path for `-L' option
```
That's because of an typo in mbedtls_library_path. However,
mbedtls_library_path contains a string of the mbedtls libraries
concatenated by an ';' which cannot be parsed by pkg-config.
Therefore, use MBEDTLS_LIBRARY instead of MBEDTLS_LIBRARIES to get
the library path.
Furthermore, add the three mbedtls libraries mbedtls, mbedcrypto, and
mbedx509 to LIBS_PRIVATE so these libraries are added to the
Libs.private field of bctoolbox.pc.
Fixes:
http://autobuild.buildroot.net/results/37d5625df4be11ccdc063871e9f6e13d5f59fb52
http://autobuild.buildroot.net/results/1999c841fae41f860f00747a362327cb2857e687
.. and many more.
Upstream status: Pending
https://github.com/BelledonneCommunications/bctoolbox/pull/4
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/qt5/qt5quickcontrols/qt5quickcontrols.hash')
0 files changed, 0 insertions, 0 deletions