package/micropython: pass $TARGET_LDFLAGS to build

LDFLAGS need to be passed to the micropython build system via the
LDFLAGS_EXTRA variable, which was so far missing. This patch adds it.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Acked-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Jonathan Neuschäfer 2023-04-29 14:47:31 +02:00 committed by Yann E. MORIN
parent 25d2a13782
commit f89b988d33

View File

@ -36,6 +36,7 @@ MICROPYTHON_MAKE_OPTS += \
MICROPY_PY_USSL=0 \
CROSS_COMPILE=$(TARGET_CROSS) \
CFLAGS_EXTRA=$(MICROPYTHON_CFLAGS) \
LDFLAGS_EXTRA="$(TARGET_LDFLAGS)" \
CWARN=
define MICROPYTHON_BUILD_CMDS