net/asterisk-11.x and net/asterisk-13.x: fix menuselect
authorSebastian Kemper <sebastian_ml@gmx.net>
Fri, 28 Jul 2017 19:34:02 +0000 (21:34 +0200)
committerSebastian Kemper <sebastian_ml@gmx.net>
Fri, 28 Jul 2017 19:34:05 +0000 (21:34 +0200)
commitf616ed7c6ecb4a82947dc3f4f64ecf447d9f9ee9
tree2e6c0ac74984067a742464ab16e3fb5308a2fe59
parent5cb478e3af94d30fe74561caf1335ab00f8c6504
net/asterisk-11.x and net/asterisk-13.x: fix menuselect

menuselect often fails on the buildbots:

menuselect/menuselect: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory

This doesn't happen on all builds. The assumption is that on the
particular buildbot where there is no error the buildbots own libxml2.so
is usable (it exists and the version is suitable).

To fix this make the linker add an rpath to the menuselect utility,
pointing to the hostpkg lib dir.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
net/asterisk-11.x/Makefile
net/asterisk-13.x/Makefile