From b34e2603ab808f0bf80008f2b0eab1c07f4fc05f Mon Sep 17 00:00:00 2001 From: Emil J Date: Tue, 22 Oct 2024 12:52:50 +0200 Subject: [PATCH] Makefile: add -rdynamic on macOS to fix plugins with LTO --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 5be8c64e9cf..82b0ce58bad 100644 --- a/Makefile +++ b/Makefile @@ -118,6 +118,7 @@ AWK ?= awk ifeq ($(OS), Darwin) PLUGIN_LINKFLAGS += -undefined dynamic_lookup +LINKFLAGS += -rdynamic # homebrew search paths ifneq ($(shell :; command -v brew),)