mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-23 00:38:26 +00:00
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 <elezar@nvidia.com>
This commit is contained in:
parent
a06d838b1c
commit
e2fe591535
2
Makefile
2
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
|
||||
|
Loading…
Reference in New Issue
Block a user