[Buildroot] host-ncurses: cannot find -lstdc++

Mike Frysinger vapier at gentoo.org
Mon Dec 13 13:32:59 UTC 2010


On Monday, December 13, 2010 07:48:51 Quotient Remainder wrote:
> --- a/package/ncurses/ncurses.mk
> +++ b/package/ncurses/ncurses.mk
>  define NCURSES_BUILD_CMDS
> -       $(MAKE1) -C $(@D) DESTDIR=$(STAGING_DIR)
> +       PATH=$(HOST_DIR)/usr/bin:$(PATH) $(MAKE1) -C $(@D)
> DESTDIR=$(STAGING_DIR)

there's already a HOST_PATH for you to leverage

> +define HOST_NCURSES_PATCH_NCURSES_CONFIG
> +       $(SED) 's^prefix="^prefix="$(HOST_DIR)^' \
> +               $(HOST_DIR)/usr/bin/ncurses5-config
> +endef

doesnt package/Makefile.autotools.in already set prefix to the host dir ?  so 
is this really necessary ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20101213/f47df52b/attachment.asc>


More information about the buildroot mailing list