From e2fe5915356a4b31c711874d18f5938502807c47 Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Thu, 10 Oct 2024 10:56:33 +0200 Subject: [PATCH] Add -z,lazy to LDFLAGS This fixes undefined symbol errors on platforms where -z,lazy may not be the default. Signed-off-by: Evan Lezar --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 31a06d6f..be9da4bc 100644 --- a/Makefile +++ b/Makefile @@ -60,7 +60,7 @@ endif cmds: $(CMD_TARGETS) ifneq ($(shell uname),Darwin) -EXTLDFLAGS = -Wl,--export-dynamic -Wl,--unresolved-symbols=ignore-in-object-files +EXTLDFLAGS = -Wl,--export-dynamic -Wl,--unresolved-symbols=ignore-in-object-files -Wl,-z,lazy else EXTLDFLAGS = -Wl,-undefined,dynamic_lookup endif