<div dir="ltr"><div><div><div><div><div>Okay, maybe no one knew what I was taking about. In any case, for the record, I've resolved the issue by using relative paths in my SConstruct file that would only work during snapping. This doesn't cause an issue with normal development, because I also include relative paths (include paths and lib paths) that would only work in that context. Extraneous paths in either context is fine.<br><br></div>What I figured is that, like the "DESTDIR" variable provided by the scons plugin, there would be similar environment variables setup that SConstruct and other make-type files could use to be able to locate dependency parts that have already been built during the snapping process. But maybe my solution is above reasonable? It doesn't seem all that clean to me.<br><br></div>By the way, the documentation at...<br><br><a href="http://snapcraft.io/docs/reference/plugins/scons">http://snapcraft.io/docs/reference/plugins/scons</a><br><br></div>...is pretty bad. If someone pointed me in the right direction, I could at least add what I know from looking at the plugin's Python code.<br><br></div>Sincerely yours,<br></div>The worst snapcrafter on the list.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 16, 2017 at 12:07 AM, Spencer <span dir="ltr"><<a href="mailto:spencertparkin@gmail.com" target="_blank">spencertparkin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi. I have a project with 2 dependencies so I need 3 parts in my yaml file. The dependencies install correctly during snapping, but when my program starts to compile, it can't locate the header files for the library dependencies. There is no mystery here as to why that is the case. My question, however, is: what do I put in my scons file so that I can locate the header files during snapping? I've been looking at the snapcraft python code, but I can't seem to find out what, if any, additional environment variables there may be setup for me to use in my scons file so that I can locate headers and libraries. Is there a different way to go about it?<br>
<br>
Thanks.</blockquote></div><br></div>