Not familiar with Fortran but maybe it helps to know that this is normally handled with the DEPENDS mechanism. When you add other recipes as dependencies to your recipe, the task do_prepare_recipe_sysroot (run before do_compile) will make hard links to the files from those dependency recipes into that recipe-sysroot directory.
See: https://docs.yoctoproject.org/singleindex.html#do-prepare-recipe-sysroot Kind regards, Michael On Sun, 2 Jan 2022, 6:06 pm staticd, <[email protected]> wrote: > okay...I think I have a more interesting question now... > > In the package I am building I have some Fortran code that requires > `libquadmath` > > I see that `gcc-runtime` provides the library but I need the library > present in `recipe-sysroot/lib` when my `do_compile` runs > > Is there a way for me to do that? > > My current approach is to build my image, copy the libraries/includes to > my recipe and `install` them in `recipe-sysroot` before `do_compile` > > This doesn't seem like the correct approach but I am not sure how else to > do it at this point > > Any help would be greatly appreciated. > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#55701): https://lists.yoctoproject.org/g/yocto/message/55701 Mute This Topic: https://lists.yoctoproject.org/mt/88095036/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
