# OSX static library in JUCE module

**URL:** <https://forum.juce.com/t/osx-static-library-in-juce-module/19362>\
**Category:** General JUCE discussion\
**Created:** [October 4, 2016, 7:50pm UTC](https://forum.juce.com/t/osx-static-library-in-juce-module/19362 "2016-10-04T19:50:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonathonracz](https://avatars.discourse-cdn.com/v4/letter/j/da6949/32.png) [@jonathonracz](https://forum.juce.com/u/jonathonracz)\
**Post date:** [October 4, 2016, 7:50pm UTC](https://forum.juce.com/t/osx-static-library-in-juce-module/19362/1 "2016-10-04T19:50:50Z")

</div>

I’m trying to add a .tbd (a slightly different .dylib - thanks for fracturing that Apple) to my JUCE module definition. However, this doesn’t seem to be possible since we can only add Framework bundles under macOS.

Any chance we could get an “osxLibs” field in the JUCE module format that accepts filename + extension so we can add “lib\*.dylib lib\*.tbd”… etc?

What makes this extra annoying is it’s possible to do just fine on Linux using the linuxLibs field, and on Windows it can be worked around by using `pragma(lib, "path/to/lib.lib")` (would love a proper way to do Windows static libraries however) but there’s no way to do it for macOS.

---

<div class="post-metadata">

**Author:** ![t0m](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/t0m/32/16413_2.png) [@t0m](https://forum.juce.com/u/t0m)\
**Post date:** [October 6, 2016, 8:52am UTC](https://forum.juce.com/t/osx-static-library-in-juce-module/19362/2 "2016-10-06T08:52:38Z")

</div>

Yes, this would be very useful! I’ve added it to the backlog.
