From add51b89bfb5ebe7b533e14714088a4d3912c9a0 Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Wed, 3 May 2017 15:46:35 +0300 Subject: [PATCH] picocom: force target LDFLAGS This allows a static build of picocom when BR2_STATIC_LIBS=y but the toolchain provides static and shared libraries. Signed-off-by: Baruch Siach Signed-off-by: Peter Korsgaard --- package/picocom/picocom.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/picocom/picocom.mk b/package/picocom/picocom.mk index 07bda0e745..4e25556f4c 100644 --- a/package/picocom/picocom.mk +++ b/package/picocom/picocom.mk @@ -10,7 +10,8 @@ PICOCOM_LICENSE = GPL-2.0+ PICOCOM_LICENSE_FILES = LICENSE.txt define PICOCOM_BUILD_CMDS - $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) + $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) \ + LDFLAGS="$(TARGET_LDFLAGS)" -C $(@D) endef define PICOCOM_INSTALL_TARGET_CMDS -- 2.30.2