pass in ${LLD_EMUL} to the asterisk build, if present.

updates to 19.6.0, 18.14.0, 16.27.0 have added a geolocation module
which embeds xml using the linker with -Wl,-b,binary; on archs using
LLD the emulation must be specified otherwise linking fails.
This commit is contained in:
sthen 2022-08-18 19:16:42 +00:00
parent 760abfb6e0
commit fead7866f4

View File

@ -22,6 +22,7 @@ MAINTAINER= Stuart Henderson <stu.ports@spacehopper.org>
# notes in codecs/ilbc/LICENSE_ADDENDUM.
PERMIT_PACKAGE= Yes
WANTLIB-main += ${COMPILER_LIBCXX}
WANTLIB-main += c crypto curl curses edit gsm iconv iksemel
WANTLIB-main += jansson m ogg portaudio pthread radcli spandsp
WANTLIB-main += sqlite3 srtp2 ssl tiff uriparser unbound uuid
@ -115,6 +116,9 @@ CONFIGURE_ARGS+= --localstatedir=/var \
--with-pjproject-bundled
CONFIGURE_ENV+= PJPROJECT_CONFIGURE_OPTS="--disable-bcg729 --disable-vpx"
MAKE_ENV= LOCALBASE="${LOCALBASE}"
.if defined(LLD_EMUL)
MAKE_ENV+= LLD_EMUL="-Wl,${LLD_EMUL}"
.endif
CONFIGURE_ARGS+= --with-SDL_image=no \
--with-asound=no \