Le 03/06/2013 10:52, Samuel Thibault a écrit : > Brice Goglin, le Mon 03 Jun 2013 10:46:49 +0200, a écrit : >> hwloc/bitmap.h is the biggest problem, plugins should be allowed to use >> all of them but there are maaaaany of them. Splitting hwloc-bitmap.so >> out of hwloc.so would be an easy way to solve this. The bitmap API is >> totally independent from the hwloc core anyway. > Having a libhwloc-plugin-helper.so for most functions is probably the > sanest way indeed. >
If both plugins and the core libhwloc use these functions, is there a way to avoid having to pass both -lhwloc and -lhwloc-helper when linking normal hwloc applications? That doesn't matter for people using pkg-config, but I guess some people hardwire -lhwloc on there link command-line. Brice