BUILD_LDFLAGS is missing for native build, add it in.

Signed-off-by: Ming Liu <[email protected]>
---
 meta/recipes-support/dos2unix/dos2unix_7.5.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#237190): 
https://lists.openembedded.org/g/openembedded-core/message/237190
Mute This Topic: https://lists.openembedded.org/mt/119357704/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to