Skip to content

Commit

Permalink
Makefile: add -rdynamic on macOS to fix plugins with LTO
Browse files Browse the repository at this point in the history
  • Loading branch information
widlarizer committed Oct 22, 2024
1 parent 7db4c65 commit b34e260
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ AWK ?= awk

ifeq ($(OS), Darwin)
PLUGIN_LINKFLAGS += -undefined dynamic_lookup
LINKFLAGS += -rdynamic

# homebrew search paths
ifneq ($(shell :; command -v brew),)
Expand Down

0 comments on commit b34e260

Please sign in to comment.