summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/wscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript
index bb17c7cccb..ef06a7e7b0 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -287,6 +287,9 @@ yp_get_default_domain
package="", uselib_store="cups")
conf.CHECK_HEADERS('cups/cups.h cups/language.h', lib='cups')
conf.CHECK_LIB('cups')
+ else:
+ # define an empty subsystem for cups, to allow it to be used as an empty dependency
+ conf.SET_TARGET_TYPE('cups', 'EMPTY')
# Check for LDAP
conf.CHECK_HEADERS('ldap.h lber.h')