Skip to content
This repository was archived by the owner on Jan 31, 2019. It is now read-only.

Conversation

@hundeboll
Copy link

asio is a header only library, so no (R)DEPENDS_${PN} is needed.


inherit autotools c++

DEPENDS = "boost-dev libpthread openssl"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+=

@Villemoes
Copy link
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?

@kimrhh
Copy link
Contributor

kimrhh commented Jan 12, 2017

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.

@Villemoes
Copy link
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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants