summaryrefslogtreecommitdiff
path: root/source3/wscript
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-02-11 14:37:13 +0100
committerGünther Deschner <gd@samba.org>2011-02-11 15:28:32 +0100
commit414f39872dd2fa8541cfd93e3d3b22cc941c5477 (patch)
treeca986c094a5542bf1e5c34cddd0602fa71696363 /source3/wscript
parent59c8839dec275fd252e4570cbc9561f66a689a56 (diff)
downloadsamba-414f39872dd2fa8541cfd93e3d3b22cc941c5477.tar.gz
samba-414f39872dd2fa8541cfd93e3d3b22cc941c5477.tar.bz2
samba-414f39872dd2fa8541cfd93e3d3b22cc941c5477.zip
s3-waf: try to deal with underlinked cups libraries.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Feb 11 15:28:32 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/wscript b/source3/wscript
index 3957fcab55..9b1cb53fe0 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -520,7 +520,7 @@ msg.msg_acctrightslen = sizeof(fd);
conf.check_cfg(path=conf.env.CUPS_CONFIG, args="--cflags --ldflags --libs",
package="", uselib_store="cups")
conf.CHECK_HEADERS('cups/cups.h cups/language.h', lib='cups')
- conf.CHECK_FUNCS_IN('httpConnect httpConnectEncrypt', 'cups')
+ conf.CHECK_FUNCS_IN('httpConnect httpConnectEncrypt', conf.env.LIB_cups)
if conf.CONFIG_SET('HAVE_CUPS_CUPS_H') and conf.CONFIG_SET('HAVE_CUPS_LANGUAGE_H'):
conf.DEFINE('HAVE_CUPS', '1')
else: