Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When packaging a library A that contains of headers (similar to boost), those headers may have include statements to another header library B in them. Consequently, when building an application with A, the headers of B also need to be present in the system.

What is the correct way to include this dependency in B in the control file?

share|improve this question

In the block for the A-dev binary package, you'd add B-dev to the Depends list.

(Real examples would really help us to help you)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.