Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] libcec needs to be patched to provide a correct libcec.pc
@ 2014-06-13 21:27 Yann E. MORIN
  2014-06-14  3:52 ` Bernd Kuhls
  0 siblings, 1 reply; 3+ messages in thread
From: Yann E. MORIN @ 2014-06-13 21:27 UTC (permalink / raw)
  To: buildroot

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.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-14 10:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-13 21:27 [Buildroot] libcec needs to be patched to provide a correct libcec.pc Yann E. MORIN
2014-06-14  3:52 ` Bernd Kuhls
2014-06-14 10:13   ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox