#1330: hwloc might build against cuda, in which case Cactus needs to link against it -----------------------------------+---------------------------------------- Reporter: knarf | Owner: Type: defect | Status: new Priority: major | Milestone: ET_2013_05 Component: EinsteinToolkit thorn | Version: development version Keywords: | -----------------------------------+---------------------------------------- Currently, the hwloc pkg-config does not work in some cases, and the 'reasonable guess' in configure.sh doesn't as well. The main problem seems to be that pkg-config is called before PKG_CONFIG_PATH is set. The attached patch fixes this and allows me to build on a system where cuda libraries are installed (and the hwloc autoconf finds them and links against them), but Cactus isn't configured for cuda. Without the patch linking Cactus fails because of missing cuda libraries.