Dylan Baker

Results 375 comments of Dylan Baker

yeah, or `dependency('threads', api : 'posix' | 'win32' | None)` where `None` means, I like that a little better, but I could be persuaded) The only places i can think...

I'd like to avoid having to do things like: ```meson if host_machine.system() in ['linux', 'freebsd', 'openbsd', 'netbsd', ...] threads = dependency('threads-posix') else threads = dependency('threads-win32') endif ``` In c++ especially...

> Yup. The projects that support both Win32 and pthreads are the ones I'm especially trying to improve here. And I want to do this without degrading the current situation...

I'm not opposed to having a way to specify that you want additional support beyond the basics of C++ Threads or C11 threads, like full pthreads. My preference would be...

I've split the docstring and comment changes into a separate patch. I'm concerned about the `__bool__` thing, since the real value here is that the class implements an explicit bool...

The python3 module is deprecated, so I wouldn't worry about what it's doing. I'm not sure that there's even anyone using it anymore, or has been for some time.

We support this for the gcc style clang, so adding it to clang-cl should be pretty easy if someone was looking for a good first project on windows.

This is not the idiomatic way to find a dependency. There is a libcrypto finder in Meson, you may be able to make this work by simply doing (untested): ```meson...

> meson.build:25:0: ERROR: Entries in "link_with" may only be self-built targets, Oops, yes, that should be `dependencies` not `link_with`. I don't know what I was thinking when I wrote that....

What does the `library` or `shared_library` call for `libp11-kit` look like? I suspect you need to add `dep_ssl` to that target's `dependency` line