shaka-project / shaka-packager

A media packaging and development framework for VOD and Live DASH and HLS applications, supporting Common Encryption for Widevine and other DRM Systems.
https://shaka-project.github.io/shaka-packager/
Other
2k stars 510 forks source link

build: Separate shared and static library targets #1293

Closed joeyparrish closed 1 year ago

joeyparrish commented 1 year ago

This splits the target so that we always build static libraries, but optionally also build shared libraries. This also tweaks the installation so that the static library is never installed, because it is not usable without the other internal static library deps. The headers and pkgconfig will only be installed if we have a shared library to use them with.

joeyparrish commented 1 year ago

@cosmin, I'm testing release workflows on my fork right now, and those PRs depend on this one. If you don't like it, please let me know so I can make adjustments and finish testing those workflow PRs.