SwiftFFmpeg icon indicating copy to clipboard operation
SwiftFFmpeg copied to clipboard

Use binaryTarget instead of systemLibrary

Open sunlubo opened this issue 5 years ago • 6 comments

sunlubo avatar Aug 06 '20 10:08 sunlubo

@gregcotten

sunlubo avatar Aug 06 '20 10:08 sunlubo

I wonder if using the vended .dylibs would be a possibility, though it could be an install name nightmare. You can build the dynamic libraries with --enable-shared --disable-static

gregcotten avatar Sep 29 '20 18:09 gregcotten

I might mess around with the dylib idea - it makes it a bit more LGPL compliant that way.

gregcotten avatar Sep 29 '20 18:09 gregcotten

I'm not sure if the SPM supports dynamic libraries. On vacation at the moment, will try it when I get back. :)

sunlubo avatar Oct 01 '20 01:10 sunlubo

I have a working CFFmpeg binary target made from dylibs. I can confirm dynamic libraries are working!

gregcotten avatar Oct 07 '20 23:10 gregcotten