App link hook: links the final slint-dart-aot dylib from the staticlib
the build hook (aot_build.dart) routed here, keeping only the components
the app's Dart code actually uses.
Splits a rustc native-static-libs: flag list into -framework names,
-l library names, and everything else (passed to the driver verbatim).
Order and duplication are preserved — rustc says both can matter.