<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Arial, sans-serif" size="2">
<div>Hi, I'm having trouble with understanding how to use built libraries (and their include-files).</div>
<div> </div>
<div>I'm writing a bitbake-recipe for some piece of software that is <i>Makefile</i>-based. The SW has a compilation and runtime dependency on readline, Sqlite3 and libxml2.</div>
<div> </div>
<div>In my bb-file, I've added 'DEPEND = "readline sqlite3 libxml2"' and the three packages are built and installed for my chosen architecture.</div>
<div> </div>
<div>Now how do I use the build artifacts for my compilation?? I would like to add 'XML2_CFLAGS=FOO', 'XML2_LIBS=BAR' etc to my EXTRA_OEMAKE so that my Makefile can pick up the location of the necessary include-files and libraries?</div>
<div> </div>
<div>Best regards,</div>
<div>Jonas Jonsson</div>
<div> </div>
<div> </div>
</font>
</body>
</html>