sun_
sun_
This should be left out when I wrote it. The new way is to avoid exporting the CFFmpeg module's symbol.
@gregcotten
I'm not sure if the SPM supports dynamic libraries. On vacation at the moment, will try it when I get back. :)
Currently, due to the lack of support for binary dependencies in SPM, I have adopted a similar approach to you. Recently, SPM team put forward a proposal for binary dependencies...
I have added support for [SE-0272](https://github.com/apple/swift-evolution/blob/master/proposals/0272-swiftpm-binary-dependencies.md) in https://github.com/sunlubo/SwiftFFmpeg/pull/41#issue-463928497. Can you try and verify it?
It works fine on Xcode11E708 with 5.3-DEVELOPMENT-SNAPSHOT-2020-08-05-a toolchain. I will try Xcode12b4 in next few days.
> I think we need to have a LGPL-compliant version for the build script, and to do that I believe we'll need to use dynamic libraries. which build script?
You mean this part? ``` --enable-gpl ```
The `--enable-gpl` option has been removed.