arvidn / libtorrent

an efficient feature complete C++ bittorrent implementation

Home Page:http://libtorrent.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to build to separate the build output as separated .a file and headers

jingliancui opened this issue · comments

Please provide the following information

libtorrent version (or branch):
clone from here git clone --recurse-submodules https://github.com/arvidn/libtorrent.git, so maybe the rc2

platform/architecture:
here https://github.com/arvidn/libtorrent/blob/RC_2_0/.github/workflows/macos.yml#L110

compiler and compiler version:
boost the latest version

please describe what symptom you see, what you would expect to see instead and
how to reproduce it.
https://github.com/arvidn/libtorrent/blob/RC_2_0/.github/workflows/macos.yml#L110
direct using this command

result,the second picture is mine output:
reference https://github.com/official-antique/QuixTorrent/issues/1
Screenshot 2023-09-02 at 22 16 21
Screenshot 2023-09-02 at 22 17 30

I'm not sure what the question is. If you want to build a static library (i.e. archive) you say:

b2 link=static

thanks, I can figure it out now, it's about the apple dev stuff, so this issue can be closed, thanks again.