Merge branch 'fix-rpath' into 'master'

Prepend RPATH of install/build directories to AM_LDFLAGS

Closes #633

See merge request !2059
69 jobs for !2059 with fix-rpath into master in 166 minutes and 14 seconds (queued for 9 seconds)