summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-02 11:03:13 +0200
committerVolker Lendecke <vl@samba.org>2010-08-02 11:55:02 +0200
commit911db761148329f3bfc84ee68e0747215d0e8b2d (patch)
treee4055b80f5b59c290e5e3b0288330cfd67497115 /source3
parente4b32cb0d44ce7e5b068f8b9f6ce0567d79426aa (diff)
downloadsamba-911db761148329f3bfc84ee68e0747215d0e8b2d.tar.gz
samba-911db761148329f3bfc84ee68e0747215d0e8b2d.tar.bz2
samba-911db761148329f3bfc84ee68e0747215d0e8b2d.zip
s3: Use cups-config --libs
Diffstat (limited to 'source3')
-rw-r--r--source3/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/configure.in b/source3/configure.in
index 4b92cd677e..294cd53c57 100644
--- a/source3/configure.in
+++ b/source3/configure.in
@@ -818,7 +818,7 @@ if test x$enable_cups != xno; then
ac_save_PRINT_LIBS=$PRINT_LIBS
CFLAGS="$CFLAGS `$CUPS_CONFIG --cflags`"
LDFLAGS="$LDFLAGS `$CUPS_CONFIG --ldflags`"
- PRINT_LIBS="$PRINT_LIBS -lcups"
+ PRINT_LIBS="$PRINT_LIBS `$CUPS_CONFIG --libs`"
AC_CHECK_HEADERS(cups/cups.h cups/language.h)
if test x"$ac_cv_header_cups_cups_h" = xyes -a \
x"$ac_cv_header_cups_language_h" = xyes; then