package/asterisk: fix host build
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 24 Sep 2017 16:33:01 +0000 (18:33 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tue, 26 Sep 2017 22:14:49 +0000 (00:14 +0200)
commit52dfe8bf2a25aebfe11445f3b67d12b36c96416b
tree729607deb0bee2292cdb5064c16d292812a75328
parentc1cfee290e160141e35c4963b4c473d77e0a0b48
package/asterisk: fix host build

The host menuselect tool is linked to our host libxml2 library, but it
is missing an RPATH to the host directory.

This is because menuselect does not use automake, so does not inherit
the LDFLAGS from the configure run.

We fix that by simply passing $(HOST_CONFIGURE_OPTS) in the make
environment.

At the same time, we also install the tool in the host directory, even
if not used from there, so that the sanity checks we run are properly
passed.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/asterisk/asterisk.mk