"pkg-config --static --libs gnutls" includes an option that gcc doesn't recognize (-R)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnutls26 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The output of "pkg-config --static --libs gnutls" is the following:
-R/usr/
However, gcc doesn't understand the "-R" option, so you can't pass the pkg-config output as a set of gcc command line options the way that pkg-config says you are supposed to be able to.
It seems likely to me that this -R option is an error and should be removed.
(The pkg-config output for a non-static build is fine.)
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: libgnutls-dev 2.12.23-12ubuntu2.2
ProcVersionSign
Uname: Linux 3.13.0-44-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: amd64
Date: Fri Jul 24 15:49:47 2015
InstallationDate: Installed on 2014-05-22 (428 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
SourcePackage: gnutls26
UpgradeStatus: No upgrade log present (probably fresh install)