hwloc
hwloc copied to clipboard
Including built hwloc in linker for cross toolchain compilation
I'm currently on ubuntu trying to cross compile for android on golang. I'm able to successfully build the hwloc libraries for each android architecture using https://github.com/XMRig-for-Android/xmrig-for-android/tree/main/xmrig/lib-builder
However when trying to compile this library in a golang project using the same android tool chain I get the error
fatal error: 'hwloc.h' file not found
How can I make the compiler recognize the built hwloc libraries? Sorry if this is a dumb question but I'm not very good with understanding cross compilation or where the libraries are gotten from