linux-traipu team mailing list archive
-
linux-traipu team
-
Mailing list archive
-
Message #01424
[Bug 163704] Re: 'cups-config --libs' gives spurious output
This still happens on my Natty machine.
$ dpkg -s libcups2-dev | grep Version
Version: 1.4.6-5ubuntu1.3
$ for i in cflags ldflags libs; do echo -n "$i: "; cups-config --$i; done
cflags:
ldflags:
libs: -lcups -L/usr/lib/x86_64-linux-gnu -g -O2 -g -O2 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -Wl,-Bsymbolic-functions -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -L/usr/lib/x86_64-linux-gnu -lgnutls -L/lib/x86_64-linux-gnu -lgcrypt -lz -lm -lcrypt
The -I flags belong in cflags, the -L flags belong in ldflags.
** Changed in: cupsys (Ubuntu)
Status: Invalid => Confirmed
** Also affects: chromium-browser
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to Chromium Browser.
https://bugs.launchpad.net/bugs/163704
Title:
'cups-config --libs' gives spurious output
Status in Chromium Browser:
New
Status in “cupsys” package in Ubuntu:
Confirmed
Bug description:
Trying to compile my own software which links against libcupsys2.
Normally, to get the libraries needed to link CUPS one would do 'cups-
config --libs', but in Gutsy, this gives:
-lcups -L/usr/lib -g -Wall -O2 -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -lgssapi_krb5
-lkrb5 -lk5crypto -lcom_err -lgnutls -lz -lpthread -lm -lcrypt
which should not contain any of this:
-g -Wall -O2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
-DDBUS_API_SUBJECT_TO_CHANGE
To manage notifications about this bug go to:
https://bugs.launchpad.net/chromium-browser/+bug/163704/+subscriptions