Open mayureshw opened 2 years ago
Have attached patches that led to a successful build on NetBSD.
Would you mind formatting this as a PR, ie.build a fork of current version, edit the files and then build a PR (contribute button on your fork). This would make it easier to integrate, netBSD is not the main platform but minor changes such as these are ok if they are formatted as a PR it's easier than diff format.
Above patches were on the last released version. I had a look at the master branch and the patches do not seem to apply as-is. Will need some work on this. Will take it up when time permits.
I am trying to build LTSmin on NetBSD.
I get an error during configure as it tests for function pthread_mutexattr_setpshared
On NetBSD man pthread_mutexattr_setpshared says:
BUGS The pthread_mutexattr_getpshared() and pthread_mutexattr_setpshared() functions are hidden by default since only thread shared attributes are supported.
Given this, what workaround would you suggest - both for the configure script and use of this function in src/hre/hre_pthread.c.