krzyzanowskim / OpenSSL

OpenSSL package for SwiftPM, CocoaPod, and Carthage, multiplatform
https://swift.best
Other
907 stars 334 forks source link

"make" command by default doesn't invoke "create-frameworks.sh" #122

Closed richardtop closed 3 years ago

richardtop commented 3 years ago

Hi, when following the instructions in the repository I was able to build the frameworks with the following command:

$ git clone https://github.com/krzyzanowskim/OpenSSL.git
$ cd OpenSSL
$ make

However, it seems that the make just executes the first target (build) and does not package the artifacts into XCFramework.

Based on this answer: https://stackoverflow.com/questions/2057689/how-does-make-app-know-default-target-to-build-if-no-target-is-specified It seems that in order to run the build scripts fully, I have to call make all.

Is this correct behavior, an error, or am I missing something in my configuration?

Manually running make frameworks after building resolves the issue and packages the resulting xcframework correctly.