Closed ghost closed 8 months ago
Fix link LLVM statically on MSYS2. By default, it will link LLVM dynamically. But we can force it to link LLVM statically with:
cmake -DCMAKE_BUILD_TYPE=Release -DADEPT_LINK_LLVM_STATIC=ON
I normally link LLVM dynamically. Today I tested linking LLVM statically and found the problem.
Somehow it was missing winsock2 looks like
Nice catch :+1:
Fix link LLVM statically on MSYS2. By default, it will link LLVM dynamically. But we can force it to link LLVM statically with:
cmake -DCMAKE_BUILD_TYPE=Release -DADEPT_LINK_LLVM_STATIC=ON
I normally link LLVM dynamically. Today I tested linking LLVM statically and found the problem.