diff mbox

[1/1] package/x11r7/xapp_bdftopcf: Fix linking error

Message ID 1417035000-22176-1-git-send-email-bernd.kuhls@t-online.de
State Superseded
Headers show

Commit Message

Bernd Kuhls Nov. 26, 2014, 8:50 p.m. UTC
Fixes
http://autobuild.buildroot.net/results/242/24297c948c0eee684e868ad4bd12f11c3a759248/
http://autobuild.buildroot.net/results/464/464fdc71690a437c1782dd8e4c75d78195bf8bfd/
http://autobuild.buildroot.net/results/77c/77c26d14c8906b44f7c3fa1b3d759556c7318a7e/
and many others ( http://autobuild.buildroot.net/?reason=xapp_bdftopcf-1.0.4 )

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/x11r7/xapp_bdftopcf/xapp_bdftopcf.mk |    3 +++
 1 file changed, 3 insertions(+)

Comments

Peter Korsgaard Nov. 27, 2014, 10:17 p.m. UTC | #1
>>>>> "Bernd" == Bernd Kuhls <bernd.kuhls@t-online.de> writes:

 > Fixes
 > http://autobuild.buildroot.net/results/242/24297c948c0eee684e868ad4bd12f11c3a759248/
 > http://autobuild.buildroot.net/results/464/464fdc71690a437c1782dd8e4c75d78195bf8bfd/
 > http://autobuild.buildroot.net/results/77c/77c26d14c8906b44f7c3fa1b3d759556c7318a7e/
 > and many others ( http://autobuild.buildroot.net/?reason=xapp_bdftopcf-1.0.4 )

 > Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
 > ---
 >  package/x11r7/xapp_bdftopcf/xapp_bdftopcf.mk |    3 +++
 >  1 file changed, 3 insertions(+)

 > diff --git a/package/x11r7/xapp_bdftopcf/xapp_bdftopcf.mk b/package/x11r7/xapp_bdftopcf/xapp_bdftopcf.mk
 > index 950d988..1bf74aa 100644
 > --- a/package/x11r7/xapp_bdftopcf/xapp_bdftopcf.mk
 > +++ b/package/x11r7/xapp_bdftopcf/xapp_bdftopcf.mk
 > @@ -11,5 +11,8 @@ XAPP_BDFTOPCF_LICENSE = MIT
 >  XAPP_BDFTOPCF_LICENSE_FILES = COPYING
 >  XAPP_BDFTOPCF_DEPENDENCIES = xlib_libXfont
 
 > +# needed for linking against libXfont
 > +XAPP_BDFTOPCF_MAKE_OPTS += LDFLAGS+=-ldl

Does this end up at the very back of the linker command line? Why not
XAPP_BDFTOPCF_CONF_ENV += LIBS=-ldl like we do elsewhere?
Bernd Kuhls Nov. 28, 2014, 6:38 p.m. UTC | #2
Peter Korsgaard <peter@korsgaard.com> wrote in 
news:87d288nv8o.fsf@dell.be.48ers.dk:

> > +# needed for linking against libXfont
> > +XAPP_BDFTOPCF_MAKE_OPTS += LDFLAGS+=-ldl
> 
> Does this end up at the very back of the linker command line? Why not
> XAPP_BDFTOPCF_CONF_ENV += LIBS=-ldl like we do elsewhere?

Hi Peter,

I had no particular reason for my choice, it works as good as your proposal, 
so I sent v2: http://patchwork.ozlabs.org/patch/415933/

Regards, Bernd
diff mbox

Patch

diff --git a/package/x11r7/xapp_bdftopcf/xapp_bdftopcf.mk b/package/x11r7/xapp_bdftopcf/xapp_bdftopcf.mk
index 950d988..1bf74aa 100644
--- a/package/x11r7/xapp_bdftopcf/xapp_bdftopcf.mk
+++ b/package/x11r7/xapp_bdftopcf/xapp_bdftopcf.mk
@@ -11,5 +11,8 @@  XAPP_BDFTOPCF_LICENSE = MIT
 XAPP_BDFTOPCF_LICENSE_FILES = COPYING
 XAPP_BDFTOPCF_DEPENDENCIES = xlib_libXfont
 
+# needed for linking against libXfont
+XAPP_BDFTOPCF_MAKE_OPTS += LDFLAGS+=-ldl
+
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))