Skip to content

Commit 6174056

Browse files
authored
macOS <=10.14: move build flags to OSLIBS (JuliaLang#50017)
Replace file src/mach_dyld_atfork.tbd with command line flags Fixes JuliaLang#49976
1 parent e4600c5 commit 6174056

File tree

2 files changed

+1
-27
lines changed

2 files changed

+1
-27
lines changed

src/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ endif
150150
CLANG_LDFLAGS := $(LLVM_LDFLAGS)
151151
ifeq ($(OS), Darwin)
152152
CLANG_LDFLAGS += -Wl,-undefined,dynamic_lookup
153-
OSLIBS += $(SRCDIR)/mach_dyld_atfork.tbd
153+
OSLIBS += -Wl,-U,__dyld_atfork_parent -Wl,-U,__dyld_atfork_prepare -Wl,-U,__dyld_dlopen_atfork_parent -Wl,-U,__dyld_dlopen_atfork_prepare
154154
LIBJULIA_PATH_REL := @rpath/libjulia
155155
else
156156
LIBJULIA_PATH_REL := libjulia

src/mach_dyld_atfork.tbd

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)