From: Laurent Bigonville <bigon@debian.org>
To: Steve Grubb <sgrubb@redhat.com>, linux-audit@redhat.com
Subject: Re: Missing linker flags when statically linking
Date: Sat, 9 Jul 2016 23:02:44 +0200 [thread overview]
Message-ID: <c48d063c-55c1-ea02-5586-423ed0863264@debian.org> (raw)
In-Reply-To: <11381031.WHaSpXZ8Zn@x2>
Le 05/07/16 à 14:15, Steve Grubb a écrit :
> Hello,
>
> On Monday, July 4, 2016 2:08:14 PM EDT Laurent Bigonville wrote:
>> Apparently the audit.pc file is missing flags to allow libaudit to be
>> statically linked (see [0]).
>>
>> Adding something like "Requires.private: libcap-ng" should fix the problem.
> OK. Fixed. There will be a new audit package release in a little while that
> has this fixed.
Apparently the fix is not 100% correct:
The "Libs.private" field should be _after_ the Libs one in the .pc file,
otherwise the ordering of the libraries is not OK during liking:
-lcap-ng -laudit
it should be: -laudit -lcap-ng instead.
Also any reasons you are using Libs.private instead of Package.private?
next prev parent reply other threads:[~2016-07-09 21:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-04 12:08 Missing linker flags when statically linking Laurent Bigonville
2016-07-05 12:15 ` Steve Grubb
2016-07-09 21:02 ` Laurent Bigonville [this message]
2016-07-09 21:41 ` Steve Grubb
2016-07-10 8:45 ` Laurent Bigonville
2016-07-10 12:17 ` Thomas Petazzoni
2016-07-10 17:18 ` Steve Grubb
2016-07-10 17:42 ` Laurent Bigonville
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c48d063c-55c1-ea02-5586-423ed0863264@debian.org \
--to=bigon@debian.org \
--cc=linux-audit@redhat.com \
--cc=sgrubb@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox