Skip to content

Commit d016f82

Browse files
committed
Fix escaping of MOLD_ROOT variable in Conan recipe
1 parent a6bd793 commit d016f82

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

profiles/clang18

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ tools.build:compiler_executables*={"c": "clang-18", "cpp": "clang++-18", "fortra
2121
tools.cmake.cmaketoolchain:generator=Ninja Multi-Config
2222
tools.build:exelinkflags+=["-flto=auto", "-static-libstdc++"]
2323
tools.build:sharedlinkflags+=["-flto=auto", "-static-libstdc++"]
24-
tools.build:exelinkflags+=["-fuse-ld=mold", "-B$MOLD_ROOT"]
25-
tools.build:sharedlinkflags+=["-fuse-ld=mold", "-B$MOLD_ROOT"]
24+
tools.build:exelinkflags+=["-fuse-ld=mold", "-B$ENV{MOLD_ROOT}"]
25+
tools.build:sharedlinkflags+=["-fuse-ld=mold", "-B$ENV{MOLD_ROOT}"]

profiles/gcc15

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ VTUNE_PROFILER_DIR={{ os.getenv("VTUNE_PROFILER_DIR") or os.path.join(os.getenv(
2222
tools.cmake.cmaketoolchain:generator=Ninja Multi-Config
2323
tools.build:exelinkflags+=["-flto=auto", "-static-libstdc++", "-static-libgcc"]
2424
tools.build:sharedlinkflags+=["-flto=auto", "-static-libstdc++", "-static-libgcc"]
25-
tools.build:exelinkflags+=["-fuse-ld=mold", "-B$MOLD_ROOT"]
26-
tools.build:sharedlinkflags+=["-fuse-ld=mold", "-B$MOLD_ROOT"]
25+
tools.build:exelinkflags+=["-fuse-ld=mold", "-B$ENV{MOLD_ROOT}"]
26+
tools.build:sharedlinkflags+=["-fuse-ld=mold", "-B$ENV{MOLD_ROOT}"]

0 commit comments

Comments
 (0)