Index: cups-config.in
===================================================================
--- cups-config.in	(revision 10903)
+++ cups-config.in	(working copy)
@@ -105,7 +105,7 @@
 	    ;;
 	--libs)
 	    if test $static = no; then
-	        libs="@EXTLINKCUPS@ $LIBS";
+	        libs="@EXTLINKCUPS@";
  	        if test $image = yes; then
  	            libs="@EXTLINKCUPSIMAGE@ $libs"
 		fi
