Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Can OpenAL32.dll & libsndfile-1.dll be linked statically  (Read 3321 times)

0 Members and 1 Guest are viewing this topic.

bglaze

  • Newbie
  • *
  • Posts: 46
    • View Profile
Can OpenAL32.dll & libsndfile-1.dll be linked statically
« on: November 02, 2011, 03:13:26 am »
And if so how? I have my whole application statically linked, and these would be the only two dll's I would have in my exe's folder. So, I was hoping to be able to link them statically as well, for uniformity.

In other linker options, I use the following for my other dlls:

Code: [Select]
-static-libgcc
-static-libstdc++


I have tried adding -static-openal32, but this didn't work...

Any recommendations?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Can OpenAL32.dll & libsndfile-1.dll be linked statically
« Reply #1 on: November 02, 2011, 08:10:26 am »
They are under the LGPL license, so you can link them statically only if the license of your own source code is compatible with LGPL. And you would have to recompile them, SFML only provides the dynamic version of their libraries.
Laurent Gomila - SFML developer

bglaze

  • Newbie
  • *
  • Posts: 46
    • View Profile
Can OpenAL32.dll & libsndfile-1.dll be linked statically
« Reply #2 on: November 02, 2011, 11:01:05 pm »
Oh, makes perfect sense, thanks so much, Laurent!

 

anything