Skip to content

Commit

Permalink
Merge pull request #88134 from akien-mga/scons-wayland-py3.12-escape
Browse files Browse the repository at this point in the history
SCons: Use r-strings for wayland-scanner builder command
  • Loading branch information
akien-mga committed Feb 9, 2024
2 parents 27e575a + 03c8a0d commit 4e990cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions platform/linuxbsd/wayland/SCsub
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ if env["use_sowrap"]:
WAYLAND_BUILDERS_SOWRAP = {
"WAYLAND_API_HEADER": Builder(
action=Action(
"wayland-scanner -c client-header < ${SOURCE} | sed 's:wayland-client-core\.h:../dynwrappers/wayland-client-core-so_wrap\.h:' > ${TARGET}",
r"wayland-scanner -c client-header < ${SOURCE} | sed 's:wayland-client-core\.h:../dynwrappers/wayland-client-core-so_wrap\.h:' > ${TARGET}",
'Generating Wayland client header: "${TARGET}"',
),
single_source=True,
),
"WAYLAND_API_CODE": Builder(
action=Action(
"wayland-scanner -c private-code < ${SOURCE} | sed 's:wayland-util\.h:../dynwrappers/wayland-client-core-so_wrap\.h:' > ${TARGET}",
r"wayland-scanner -c private-code < ${SOURCE} | sed 's:wayland-util\.h:../dynwrappers/wayland-client-core-so_wrap\.h:' > ${TARGET}",
'Generating Wayland protocol marshaling code: "${TARGET}"',
),
single_source=True,
Expand All @@ -29,14 +29,14 @@ else:
WAYLAND_BUILDERS = {
"WAYLAND_API_HEADER": Builder(
action=Action(
"wayland-scanner -c client-header < ${SOURCE} > ${TARGET}",
r"wayland-scanner -c client-header < ${SOURCE} > ${TARGET}",
'Generating Wayland client header: "${TARGET}"',
),
single_source=True,
),
"WAYLAND_API_CODE": Builder(
action=Action(
"wayland-scanner -c private-code < ${SOURCE} > ${TARGET}",
r"wayland-scanner -c private-code < ${SOURCE} > ${TARGET}",
'Generating Wayland protocol marshaling code: "${TARGET}"',
),
single_source=True,
Expand Down

0 comments on commit 4e990cd

Please sign in to comment.