From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] libcec needs to be patched to provide a correct libcec.pc
Date: Fri, 13 Jun 2014 23:27:54 +0200 [thread overview]
Message-ID: <20140613212754.GB16169@free.fr> (raw)
Bernd, All,
You previously said (on IRC) that "libcec needs to be patched in order
to provide a correct libcec.pc"
What I saw is that libcec.pc has:
Libs: -L${libdir} -lcec
Do you mean it should also have -ludev, like:
Libs: -L${libdir} -lcec -ludev
The issue I see with adding -ludev is:
- libcec can not be built static, so it is always built as a .so
- libcec.so has a DT_NEEDED tag on libudev.so.1
- normally, the linker will follow the DT_NEEDED flags of .so
So, linking a program against -lcec should be enough (unless that
program itself requires -ludev, but then it should specify it, and
that's unrelated to libcec)
Can you elaborate a bit on why and how we should patch libcec.pc,
please?
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next reply other threads:[~2014-06-13 21:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-13 21:27 Yann E. MORIN [this message]
2014-06-14 3:52 ` [Buildroot] libcec needs to be patched to provide a correct libcec.pc Bernd Kuhls
2014-06-14 10:13 ` Yann E. MORIN
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=20140613212754.GB16169@free.fr \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/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