[Buildroot] [PATCH] sdl_mixer: fix static linking issue

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Dec 7 22:40:17 UTC 2016


Hello,

On Wed, 7 Dec 2016 20:09:00 +0100, Waldemar Brodkorb wrote:
> LDFLAGS must be passed when creating binaries.
> 
> Signed-off-by: Waldemar Brodkorb <wbx at openadk.org>
> ---
> while testing the berkeley db fix, this error occured afterwards, so
> no autobuilder reference.

Sounds good...

> ---
>  .../sdl_mixer/0002-add-LDFLAGS-while-linking.patch   | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
>  create mode 100644 package/sdl_mixer/0002-add-LDFLAGS-while-linking.patch
> 
> diff --git a/package/sdl_mixer/0002-add-LDFLAGS-while-linking.patch b/package/sdl_mixer/0002-add-LDFLAGS-while-linking.patch
> new file mode 100644
> index 0000000..5c55a48
> --- /dev/null
> +++ b/package/sdl_mixer/0002-add-LDFLAGS-while-linking.patch
> @@ -0,0 +1,20 @@
> +Pass LDFLAGS while creating binaries.

... but please add more details here about *why* we're doing this.

> +
> +Signed-off-by: Waldemar Brodkorb <wbx at openadk.org>

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com



More information about the buildroot mailing list