Layouts: re-mapping snap directories

This sounds like a potential solution to an issue I reported about a month ago (Building node extension modules at run-time). In short it related to the fact that certain files inte the $SNAP/usr/lib/x86_64-linux-gnu directory referes unaccessable files in the /usr/lib/x86_64-linux-gnu directory:

  • libc.so
  • libm.so
  • libpthread.so

Could this feature solve the problem?
Mikael