-
-
Notifications
You must be signed in to change notification settings - Fork 815
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve find system library files #5433
Comments
apt 里有对 libfiles 的查找
还有 vcpkg conan里也有支持。。其他的暂时没有 |
There is a search for libfiles in apt
There is also support in vcpkg conan. . There are no others at the moment |
话说 add_requires(apt::xxxx) |
Say add_requires(apt::xxxx) |
pacman 的加上了 #5446 |
有些系统包管理同时提供静态库和动态库,比如 msys2 pacman,这个能用 configs shared 配置么 |
Some system package managers provide both static libraries and dynamic libraries, such as msys2 pacman. Can this be configured using configs shared? |
暂时支持不了,这种就没法走 那就要在 add_packages 阶段 去根据 configs + linkpath 区分处理了。。这个时候 configs 信息也没了,还得单独缓存特殊处理。。有点复杂,懒得搞。 |
It is not supported for the time being. This method cannot be used with Then we need to distinguish between configs + linkpath in the add_packages stage. . At this time, the configs information is gone and must be cached separately for special processing. . It's a bit complicated and I'm too lazy to do it. |
强烈要求 apt的库也能指定 shared或static ✊ |
It is strongly requested that the apt library can also specify shared or static ✊ |
不需要,加-Wl,-Bstatic或者-Wl,-Bdynamic就行了 |
No, just add -Wl,-Bstatic or -Wl,-Bdynamic. |
那只在 find package 做这一步,暂时不考虑 linkpath 应该可以吧 |
Then only do this step in find package, and it should be okay to ignore linkpath for the time being. |
Is your feature request related to a problem? Please describe.
#5066 (comment)
Describe the solution you'd like
N/A
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: