Bugzilla – Bug 1211810
Enable THREADING with PTHREAD by changing include file (not CMake commandline)
Last modified: 2023-08-30 09:50:36 UTC
Setting the following parameters in the CMake commandline won't update the include/mbedtls/mbedtls_config.h file: -DMBEDTLS_THREADING_C=ON \ -DMBEDTLS_THREADING_PTHREAD=ON \ Application linking this library use the mbedtls_config.h file to see what options the library was build with. Therefor it is better to uncomment these defines in the include file, so that both library and applications linking to it have the same starting point. See https://build.opensuse.org/request/show/1089636
Reassigning to the mbedtls maintainers as this seems specific to that package rather then cmake in general
This is already fixed in MbedTLS, so this can be closed (see https://build.opensuse.org/request/show/1089650)
(In reply to Simon Lees from comment #1) > Reassigning to the mbedtls maintainers as this seems specific to that > package rather then cmake in general Note that, Otto is not the maintainer of mbedtls. See: > osc maintainer -e mbedtls > Defined in package: security:tls/mbedtls > bugowner of mbedtls : > - > maintainer of mbedtls : > mpluskal@suse.com, fisiu@opensuse.org