Skip to content

Why is pthread_static_lib still built with DLL CRT runtime? #29

@trollcop

Description

@trollcop

Thanks for maintaining this project, it is handy for quick porting of pthread() nonsense to win32, however I've noticed (2 years ago when I first cloned this, and now as well) that win32 project files build the static lib using DLL runtime.

From my understanding, it's impossible to mix static and DLL runtimes, so if a portion of a project (for example this static pthread-win32) is built with DLL runtime, the REST of my project would need to be DLL'd as well.

I don't mind if DLL version of the pthread lib is built using whatever runtime, but i feel the "static" version at least should be built with static CRT.

-      <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
+      <RuntimeLibrary>MultiThreaded</RuntimeLibrary>

in both debug and release and win32/x64 platforms.

Feel free to ignore this if there's a reason for the above to continue using DLL runtime.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions