package/directfb,sdl: fix static link
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 2 patches 0 repliesNew
Patches in v1 No applies recorded yet
None of the 2 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Buildroot] [PATCH 0/2] package/directfb,sdl: fix static link
Hello,
Quoted 3 lines · Yann E. MORIN
Yann E. MORIN (2):
package/directfb: hack .pc file for static link package/sdl: fix .pc file
Thanks for working on this. However, can we instead patch the directfb and sdl build system?
For example, the SDL build system should not add -ldirect to Libs: if DirectFB was detected with pkg-config, it should add it to the
Requires: line.
For DirectFB, I think libstdc++ could be unconditionally added to directfb.pc.in.
*But*: let's take a step back. Do we really care about using DirectFB in static-only scenarios ? If only DirectFB and SDL were active upstream projects, there would be some incentive to fix this problem properly. But really, there is no such incentive. So what about making DirectFB depend on !BR2_STATIC_LIBS instead, and be done with it ?
Nowhere in Buildroot we "select BR2_PACKAGE_DIRECTFB", which means it's really a simple change to do, as we don't need to propagate this dependency to any reverse dependency.
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com