Skip to content

Commit ce2df65

Browse files
committed
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 <[email protected]>
1 parent 4604e3b commit ce2df65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ endif
6060
cmds: $(CMD_TARGETS)
6161

6262
ifneq ($(shell uname),Darwin)
63-
EXTLDFLAGS = -Wl,--export-dynamic -Wl,--unresolved-symbols=ignore-in-object-files
63+
EXTLDFLAGS = -Wl,--export-dynamic -Wl,--unresolved-symbols=ignore-in-object-files -Wl,-z,lazy
6464
else
6565
EXTLDFLAGS = -Wl,-undefined,dynamic_lookup
6666
endif

0 commit comments

Comments
 (0)