GLFW Licensing

Using GLFW
Miles R-L
  • Miles R-L

    Miles R-L - 2013-12-09

    Hi All,

    I recently figured out what needed to be linked to get GLFW working on Linux and Mac, and I noticed that GLFW uses pthread. I'd like to use it in an open source game engine with a permissive (non-copyleft) license, but pthread is under LGPL. Doesn't this mean that your static library might as well be licensed under LGPL, since linking it requires linking pthread as well?

    If there are any alternatives to statically linking pthread, please let me know. I haven't been able to get my simple example to compile without doing so.

    EDIT: Just realized, I've been dynamically linking pthread this whole time: -l chooses shared libraries over static ones.



    Last edit: Miles R-L 2013-12-09
  • Camilla Löwy

    Camilla Löwy - 2013-12-10

    Always link pthreads and all other system libraries dynamically.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks