Skip to content

Commit

Permalink
fixup! fix LLVM link to include new zlib dependency (#42524)
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy committed Oct 8, 2021
1 parent 0f4a7e1 commit cc0989b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ LLVMLINK += $(LLVM_LDFLAGS) $(shell $(LLVM_CONFIG_HOST) --libs --system-libs)
# https://github.com/JuliaLang/julia/issues/29981
else
ifneq ($(USE_LLVM_SHLIB),1)
LLVMLINK += $(LLVM_LDFLAGS) $(shell $(LLVM_CONFIG_HOST) --libs $(LLVM_LIBS)) $($(LLVM_LDFLAGS) $(shell $(LLVM_CONFIG_HOST) --system-libs 2> /dev/null)
LLVM_LINK_ARGS := $(shell $(LLVM_CONFIG_HOST) --libs $(LLVM_LIBS) --system-libs)
LLVMLINK += $(LLVM_LDFLAGS) $(LLVM_LINK_ARGS)
else
LLVMLINK += $(LLVM_LDFLAGS) -lLLVM
endif
Expand Down

0 comments on commit cc0989b

Please sign in to comment.