This repository was archived by the owner on Jan 31, 2019. It is now read-only.
Open
Conversation
recipes/asio/asio.inc
Outdated
|
|
||
| inherit autotools c++ | ||
|
|
||
| DEPENDS = "boost-dev libpthread openssl" |
Contributor
|
Isn't it the other way around? I.e., a header-only library doesn't have any build-time dependencies (DEPENDS), since, well, there's nothing being built. But it may very well have package dependencies (DEPENDS_, RDEPENDS_), e.g. if one of the headers does a #include <foo.h> there's probably a package dependency on libfoo. Or I'm just totally confused? |
Contributor
|
i would say it is correct there can't really be any RDEPENDS involved, but I would also say you are correct it is DEPENDS_${PN} that is really needed here. |
Contributor
|
Sure there can. If foo.h declares some symbol available from foo.so, we can certainly end up referencing that symbol and thus also need libfoo at runtime. I'm not saying it's the case here, just speaking generally. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
asio is a header only library, so no (R)DEPENDS_${PN} is needed.