diff options
Diffstat (limited to 'printing/BUILD.gn')
| -rw-r--r-- | printing/BUILD.gn | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/printing/BUILD.gn b/printing/BUILD.gn index 0f7f564..0c88889 100644 --- a/printing/BUILD.gn +++ b/printing/BUILD.gn @@ -125,12 +125,12 @@ component("printing") { } if (use_cups) { - cups_version = exec_script("cups_config_helper.py", [ "--api-version" ], - "trim string") - configs += [ ":cups" ] if (is_linux) { + cups_version = exec_script("cups_config_helper.py", [ "--api-version" ], + "trim string") + if (cups_version == "1.6" || cups_version == "1.7") { cflags += [ # CUPS 1.6 deprecated the PPD APIs, but we will stay with this |
