Fix undefined weak 'vlog_startup_routines' on macOS

This commit is contained in:
Geza Lore 2026-02-28 16:10:59 +00:00
parent 2ceea267e5
commit 99238f67b8
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ CPPFLAGS += $(OPT)
# On macOS, specify all weak symbols as dynamic_lookup.
# Otherwise, you get undefined symbol errors.
ifeq ($(UNAME_S),Darwin)
LDFLAGS += -Wl,-U,__Z15vl_time_stamp64v,-U,__Z13sc_time_stampv,-U,vlog_startup_routines
LDFLAGS += -Wl,-U,__Z15vl_time_stamp64v,-U,__Z13sc_time_stampv,-U,_vlog_startup_routines
endif
# Allow upper level user makefiles to specify flags they want.