Skip to content

Commit

Permalink
Fix race condition in Makefile between the two dylibs
Browse files Browse the repository at this point in the history
  • Loading branch information
cjones051073 committed May 1, 2021
1 parent b964c09 commit a24d822
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ $(BUILDDLIBPATH): $(DLIBOBJS) $(MULTIDLIBOBJS)
$(CC) $(BUILDDLIBFLAGS) $(LDFLAGS) $^ -o $@

# Wrapped libSystem relies on reexport which does not work on Darwin20+
$(BUILDSYSLIBPATH): $(DLIBOBJS) $(MULTIDLIBOBJS)
$(BUILDSYSLIBPATH): $(BUILDDLIBPATH) $(DLIBOBJS) $(MULTIDLIBOBJS)
ifeq ($(shell test $(PLATFORM) -le $(MAX_DARWIN_REEXPORT); echo $$?),0)
$(MKINSTALLDIRS) $(BUILDDLIBDIR)
$(CC) $(BUILDSYSLIBFLAGS) $(LDFLAGS) $(SYSREEXPORTFLAG) $^ -o $@
Expand Down

0 comments on commit a24d822

Please sign in to comment.