Add a static library to an executable binary in Linux with Swift Package Manager


I have created a library package and I built it like a static library. In fact if I go into .build/debug or .build/release I can see the libMyLibrary.a and other files like MyLibrary.module, MyLibrary.swiftdoc etc.

My question is: How can I add this static library to another package of type executable that I created in order to use this library? I didn't find anything online about this...