Skip to content

Commit

Permalink
escapes customArgs
Browse files Browse the repository at this point in the history
  • Loading branch information
ringabout committed Jan 18, 2025
1 parent 99424e0 commit 743f4bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nimony/deps.nim
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ proc generateFinalMakefile(c: DepContext): string =
for cfile in buildList:
s.add "\n" & mescape("nifcache" / cfile.obj) & ": " & mescape(cfile.name) &
"\n\t$(CC) -c $(CFLAGS) $(CPPFLAGS) " &
cfile.customArgs & " $< -o $@"
mescape(cfile.customArgs) & " $< -o $@"

# The .o files depend on all of their .c files:
s.add "\n%.o: %.c\n\t$(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@"
Expand Down

0 comments on commit 743f4bb

Please sign in to comment.