diff mbox series

dos2unix: pass BUILD_LDFLAGS to native build

Message ID 20260517135646.11831-1-liu.ming50@gmail.com
State New
Headers show
Series dos2unix: pass BUILD_LDFLAGS to native build | expand

Commit Message

Ming Liu May 17, 2026, 1:56 p.m. UTC
BUILD_LDFLAGS is missing for native build, add it in.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
---
 meta/recipes-support/dos2unix/dos2unix_7.5.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/recipes-support/dos2unix/dos2unix_7.5.5.bb b/meta/recipes-support/dos2unix/dos2unix_7.5.5.bb
index aa078ed200..cb7102942d 100644
--- a/meta/recipes-support/dos2unix/dos2unix_7.5.5.bb
+++ b/meta/recipes-support/dos2unix/dos2unix_7.5.5.bb
@@ -25,7 +25,7 @@  PACKAGECONFIG ??= ""
 PACKAGECONFIG[nls] = "ENABLE_NLS=1,ENABLE_NLS=,po4a-native"
 
 EXTRA_OEMAKE = "${PACKAGECONFIG_CONFARGS} LDFLAGS_USER='${LDFLAGS}'"
-EXTRA_OEMAKE:class-native = "ENABLE_NLS="
+EXTRA_OEMAKE:class-native = "ENABLE_NLS= LDFLAGS_USER='${BUILD_LDFLAGS}'"
 
 do_install () {
 	oe_runmake DESTDIR="${D}${base_prefix}" install