-
Notifications
You must be signed in to change notification settings - Fork 7
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
PackageConfig lib linking issue #2
Comments
I think it could look in a few different folders for a build directory (we did that with danger-swift for example) I'd consider it an issue, they probably hardcode those build folders so can just make a list and look there? |
This wouldn’t work in case PackageConfig is included as a dependency in the Package file. So would you recommend to install PackageConfig globally using mint, for example? |
On the same note, what I would expect from most of the people are the below steps:
|
@dalu93 think i have an idea on how to make it work almost as you specified.
I think modifying these methods to accept a list of path to search for dynamic libraries at run would suffice. So that a library user would define search path for a dynamic library in the config as follows. #if canImport(ExampleConfig)
import ExampleConfig
ExampleConfig(value: "example value").write(searchPaths: ["/usr/local/", ".build/debug", ])
#endif Would try to implement when i have time. This would allow PackageConfig to also be installed system wide. |
Hi,
Thank you for this great library! I've start using it recently and I came across a small problem.
The library looks by default in the
.build
folder for the libPackageConfig.So, when I run the following on my package, for example:
The result is that it cannot find the
.build
folder. The same happens when moving the binary in the/usr/local/bin
path, which sort of make it un-usable together with MintIs there any plan to overcome this issue? Is it even considered as an issue?
Thank you very much
The text was updated successfully, but these errors were encountered: