[oe] [meta-networking][PATCH] tsocks: use -lssp_nonshared also for glibc
Martin Jansa
martin.jansa at gmail.com
Thu Sep 27 17:44:23 UTC 2018
* the issue is reproducible also in glibc builds
* fixes:
| tsocks.c:954: error: undefined reference to '__stack_chk_fail_local'
| tsocks.c:842: error: undefined reference to '__stack_chk_fail_local'
| tsocks.c:339: error: undefined reference to '__stack_chk_fail_local'
| tsocks.c:522: error: undefined reference to '__stack_chk_fail_local'
| collect2: error: ld returned 1 exit status
| Makefile:53: recipe for target 'libtsocks.so.1.8' failed
| make: *** [libtsocks.so.1.8] Error 1
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb b/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb
index 72913579af..790a6cc795 100644
--- a/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb
+++ b/meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb
@@ -18,7 +18,7 @@ SRC_URI[sha256sum] = "849d7ef5af80d03e76cc05ed9fb8fa2bcc2b724b51ebfd1b6be11c7863
inherit autotools-brokensep
-LIBS_append_libc-musl = " -lssp_nonshared"
+LIBS = "-lssp_nonshared"
S = "${WORKDIR}/tsocks-1.8"
--
2.17.1
More information about the Openembedded-devel
mailing list