From 0900f742bb4aab8c24895c0119b875cc02af2aa4 Mon Sep 17 00:00:00 2001 From: Levi Neely <141506390+lneely@users.noreply.github.com> Date: Fri, 27 Feb 2026 08:44:38 +0100 Subject: [PATCH] Fix MBEDTLS-3.x.md: Add LIBLDFLAGS update to linker path (#168) Co-authored-by: Levi Neely --- doc/MBEDTLS-3.x.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/MBEDTLS-3.x.md b/doc/MBEDTLS-3.x.md index 66eaff5..6d988d9 100644 --- a/doc/MBEDTLS-3.x.md +++ b/doc/MBEDTLS-3.x.md @@ -25,8 +25,8 @@ The symbolic link at the end resolves the ambiguity between `/usr/include/mbedtl # run from the source root directory (e.g., pcloudcc-lneely) sed -i 's/-lmbedtls/-l:libmbedtls.a/;s/-lmbedcrypto/-l:libmbedcrypto.a/;s/-lmbedx509/-l:libmbedx509.a/' Makefile +sed -i 's/LIBLDFLAGS\t= \$(COMMONFLAGS)/LIBLDFLAGS\t= $(COMMONFLAGS) -L\/usr\/local\/lib\//' Makefile sed -i '5s/$/ -I\/usr\/local\/include/' Makefile -sed -i '10s/$/ -L\/usr\/local\/lib\//' Makefile find . -type f -name "*.[ch]" -exec sed -i 's/#include