File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ LLVMLINK += $(LLVM_LDFLAGS) $(shell $(LLVM_CONFIG_HOST) --libs --system-libs)
113113# https://github.com/JuliaLang/julia/issues/29981
114114else
115115ifneq ($(USE_LLVM_SHLIB ) ,1)
116- LLVMLINK += $(LLVM_LDFLAGS ) $(shell $(LLVM_CONFIG_HOST ) --libs $(LLVM_LIBS ) ) $($(LLVM_LDFLAGS ) $(shell $(LLVM_CONFIG_HOST ) --system-libs 2> /dev/null)
116+ LLVMLINK += $(LLVM_LDFLAGS ) $(shell $(LLVM_CONFIG_HOST ) --libs $(LLVM_LIBS ) --link-static ) $($(LLVM_LDFLAGS ) $(shell $(LLVM_CONFIG_HOST ) --system-libs 2> /dev/null)
117117else
118118LLVMLINK += $(LLVM_LDFLAGS ) -lLLVM
119119endif
@@ -230,7 +230,7 @@ endif
230230 $(INSTALL_NAME_CMD)libccalltest.$(SHLIB_EXT) $@
231231
232232$(build_shlibdir ) /libllvmcalltest.$(SHLIB_EXT ) : $(SRCDIR ) /llvmcalltest.cpp $(LLVM_CONFIG_ABSOLUTE )
233- @$(call PRINT_CC, $(CXX ) $(LLVM_CXXFLAGS ) $(JCXXFLAGS ) $(JCPPFLAGS ) $(DEBUGFLAGS ) -O3 $< $(fPIC ) -shared -o $@ $(JLDFLAGS ) -L$(build_shlibdir ) -L$(build_libdir ) $(NO_WHOLE_ARCHIVE ) $(LLVMLINK ) )
233+ @$(call PRINT_CC, $(CXX ) $(LLVM_CXXFLAGS ) $(JCXXFLAGS ) $(JCPPFLAGS ) $(DEBUGFLAGS ) -O3 $< $(fPIC ) -shared -o $@ $(JLDFLAGS ) -L$(build_shlibdir ) -L$(build_libdir ) $(NO_WHOLE_ARCHIVE ) $(LLVMLINK ) ) -lpthread
234234
235235julia_flisp.boot.inc.phony : $(BUILDDIR ) /julia_flisp.boot.inc
236236
You can’t perform that action at this time.
0 commit comments