[Pkg-samba-maint] Bug#726726: Bug#726726: Bug#726726: Bug#726726: Bug#726726: samba: Unable to share printer using cups

Ivo De Decker ivo.dedecker at ugent.be
Mon Oct 21 10:44:00 UTC 2013


Andrew,

On Mon, Oct 21, 2013 at 11:32:14PM +1300, Andrew Bartlett wrote:
> > cups-config --libs:
> > -lcups -Wl,-z,relro -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lgnutls
> > -lgcrypt -lz -lpthread -lm -lcrypt -lz
> > 
> > cups-config --ldflags
> > -L/usr/lib/x86_64-linux-gnu
> 
> The patch will need to be to source3/wscript where it calls cups-config,
> or in buildtools/wafadmin/Tools/config_c.py:parse_flags().  One way or
> the other, I don't think we should not put the default linker path in
> there at all. 

When -L/usr/lib/x86_64-linux-gnu is listed after
-L/usr/lib/x86_64-linux-gnu/heimdal, it seems to work, but it would be very
fragile to rely on that.

Where exactly is the order of the ldflags decided in the waf code?

Ivo



More information about the Pkg-samba-maint mailing list