From 05ec8c0a5e787f5c08ef1e6c99ad4fe0bcdfc08f 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 31a06d6f8..be9da4bc9 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