From 77647c78deabef5f3dbd97e8de3926a6bd094beb Mon Sep 17 00:00:00 2001 From: ak1r4 Date: Tue, 17 Feb 2026 15:50:58 +0000 Subject: [PATCH] Make rpath option passed to clang command-line work on both Linux and MacOS --- src/pydsl/frontend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pydsl/frontend.py b/src/pydsl/frontend.py index d3b1743..4aee7eb 100644 --- a/src/pydsl/frontend.py +++ b/src/pydsl/frontend.py @@ -562,7 +562,7 @@ def ll_to_so(self, src: Path, cmd="clang") -> NamedTemporaryFile: "-o", file.name, "-L$PYDSL_LLVM/lib", - "-Wl,-rpath=$PYDSL_LLVM/lib", + "-Wl,-rpath,$PYDSL_LLVM/lib", "-lmlir_c_runner_utils", ])