Skip to content

Commit

Permalink
macOS <=10.14: move build flags to OSLIBS (#50017)
Browse files Browse the repository at this point in the history
Replace file src/mach_dyld_atfork.tbd with command line flags

Fixes #49976
  • Loading branch information
benz0li authored Jun 29, 2023
1 parent e4600c5 commit 6174056
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 27 deletions.
2 changes: 1 addition & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ endif
CLANG_LDFLAGS := $(LLVM_LDFLAGS)
ifeq ($(OS), Darwin)
CLANG_LDFLAGS += -Wl,-undefined,dynamic_lookup
OSLIBS += $(SRCDIR)/mach_dyld_atfork.tbd
OSLIBS += -Wl,-U,__dyld_atfork_parent -Wl,-U,__dyld_atfork_prepare -Wl,-U,__dyld_dlopen_atfork_parent -Wl,-U,__dyld_dlopen_atfork_prepare
LIBJULIA_PATH_REL := @rpath/libjulia
else
LIBJULIA_PATH_REL := libjulia
Expand Down
26 changes: 0 additions & 26 deletions src/mach_dyld_atfork.tbd

This file was deleted.

1 comment on commit 6174056

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Executing the daily package evaluation, I will reply here when finished:

@nanosoldier runtests(isdaily = true)

Please sign in to comment.