summaryrefslogtreecommitdiffstats
path: root/printing/printing.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'printing/printing.gyp')
-rw-r--r--printing/printing.gyp22
1 files changed, 6 insertions, 16 deletions
diff --git a/printing/printing.gyp b/printing/printing.gyp
index 7acb6d7..ac87ab3 100644
--- a/printing/printing.gyp
+++ b/printing/printing.gyp
@@ -112,6 +112,12 @@
],
}],
['use_cups==1', {
+ 'link_settings': {
+ 'libraries': [
+ '-lcups',
+ '-lgcrypt',
+ ],
+ },
'defines': [
# PRINT_BACKEND_AVAILABLE disables the default dummy implementation
# of the print backend and enables a custom implementation instead.
@@ -122,22 +128,6 @@
'backend/cups_helper.h',
'backend/print_backend_cups.cc',
],
- 'conditions': [
- ['OS=="mac"', {
- 'link_settings': {
- 'libraries': [
- '$(SDKROOT)/usr/lib/libcups.dylib',
- ]
- },
- }, {
- 'link_settings': {
- 'libraries': [
- '-lcups',
- '-lgcrypt',
- ],
- },
- }],
- ],
}],
],
},