Skip to content

Commit 271e0c3

Browse files
committed
fix
1 parent 0407f22 commit 271e0c3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

python/config.py.in

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
import os
22
import sys
33

4+
llvm_obj_root = "@LLVM_BINARY_DIR@"
5+
llvm_lib_dir = "@LLVM_LIBRARY_DIR@"
46
shlib_ext = "@LTDL_SHLIB_EXT@"
57

68
if sys.platform.startswith("win32"):
7-
mlir_runner_utils_dir = os.path.normpath(os.path.join("@LLVM_BINARY_DIR@", "bin"))
9+
mlir_runner_utils_dir = os.path.normpath(os.path.join(llvm_obj_root, "bin"))
810
shlib_prefix = ""
911
else:
10-
mlir_runner_utils_dir = "@LLVM_LIBRARY_DIR@"
12+
mlir_runner_utils_dir = llvm_lib_dir
1113
shlib_prefix = "lib"
1214

1315
MLIR_C_RUNNER_UTILS = os.path.normpath(

0 commit comments

Comments
 (0)