Additional to the poor --ldflags, there are issues in --libs as well:

$ cups-config --version
1.6.3

$ cups-config --libs shows:

-lcups -Wl,-z,relro -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lgnutls
-lgcrypt -lz -lpthread -lm -lcrypt -lz

However, not only does this include something that looks like it belongs
in ldflags, it also shows all the cups dependencies.  We don't need
these directly, the linker will handle these in-directly, and Samba now
ignores --libs for this reason. 

Andrew Bartlett

-- 
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Catalyst IT                   http://catalyst.net.nz


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to