Skip to content

Commit

Permalink
Merge pull request #732 from elezar/add-z-lazy
Browse files Browse the repository at this point in the history
Add -z,lazy to LDFLAGS
  • Loading branch information
elezar authored Oct 11, 2024
2 parents a06d838 + e2fe591 commit 7fb31bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7fb31bd

Please sign in to comment.