setup: convert buildinfosrc to bytes

Reviewed By: singhsrb

Differential Revision: D23719096

fbshipit-source-id: e60522245476dac301e8449743bfd1756cfe3fbc
This commit is contained in:
Carolyn Busch 2020-09-16 09:24:43 -07:00 committed by Facebook GitHub Bot
parent 420dcf9c63
commit 97edbc3bc9

View File

@ -574,7 +574,7 @@ void print_buildinfo() {
""" """
path = pjoin(builddir, "buildinfo.c") path = pjoin(builddir, "buildinfo.c")
write_if_changed(path, buildinfosrc) write_if_changed(path, buildinfosrc.encode("utf-8"))
return path return path