[Buildroot] [PATCH 2/2] package/parted: fix static link

Peter Korsgaard peter at korsgaard.com
Sat Nov 29 16:56:52 UTC 2014


>>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:

 > libuuid needs to be linked with -lintl when gettext is needed (with
 > locales).

 > For a static build, this is solved with the DT_NEEDED ELF tags, but for

s/static/shared/

> a static link, it is not pulled in automatically.

 > Use pkg-config to find libuuid, instead of AC_CHECK_LIB().

 > Second part at fixing:
 >     http://autobuild.buildroot.net/results/c46/c467aeec258909bb82eda77123803944f97d8df8/

 > Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
 > Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
 > ---
 >  .../parted/parted-003-fix-static-link-uuid.patch    | 21 +++++++++++++++++++++
 >  1 file changed, 21 insertions(+)
 >  create mode 100644 package/parted/parted-003-fix-static-link-uuid.patch

 > diff --git a/package/parted/parted-003-fix-static-link-uuid.patch b/package/parted/parted-003-fix-static-link-uuid.patch
 > new file mode 100644
 > index 0000000..e281b6f
 > --- /dev/null
 > +++ b/package/parted/parted-003-fix-static-link-uuid.patch
 > @@ -0,0 +1,21 @@

You forgot the patch description + signed-off-by.

Otherwise it looks good. Please don't forget to send it upstream.


-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list