Skip to content

Commit f752786

Browse files
committed
r: prevent substitution of paths in LDFLAGS by chance
1 parent 6e5f6a5 commit f752786

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

repos/spack_repo/builtin/packages/r/package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def copy_makeconf(self):
219219
("icuuc", "icu4c"),
220220
]:
221221
filter_file(
222-
f"-l{_lib}",
222+
rf"-l{_lib}\b",
223223
f"-L{self.spec[_pkg].libs.directories[0]} -l{_lib}",
224224
join_path(self.etcdir, "Makeconf"),
225225
)

0 commit comments

Comments
 (0)