pthread usage in pkg


I still have the issue with posix threads in my package. The compiler is not able to find a reference for pthread_mutex_lock

error: implicit declaration of function 'pthread_mutex_lock'; did you mean 'pthread_atfork'? [-Werror=implicit-function-declaration] pthread_mutex_lock(&iota_wallet_bundle_essence_mutex);

The example is available here:

The packages includes pthreads as module:

I don’t have an idea how to solve that.