[PATCH 2/3] Makefile: fix build against musl

Jörg Krause joerg.krause at embedded.rocks
Fri Apr 24 13:43:57 PDT 2015


On Fr, 2015-04-24 at 00:12 +0200, Jörg Krause wrote:
> Fix undefined reference to 'libintl_gettext'.
> 
> Signed-off-by: Jörg Krause <joerg.krause at embedded.rocks>
> ---
>  Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Makefile b/Makefile
> index eade234..36bb700 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -105,7 +105,7 @@ $(call _mkdep,lib/,libmtd.a)
>  obj-mkfs.ubifs = crc16.o lpt.o compr.o devtable.o \
>       hashtable/hashtable.o hashtable/hashtable_itr.o
>  LDFLAGS_mkfs.ubifs = $(ZLIBLDFLAGS) $(LZOLDFLAGS) $(UUIDLDFLAGS)
> -LDLIBS_mkfs.ubifs = -lz -llzo2 -lm -luuid
> +LDLIBS_mkfs.ubifs = -lz -llzo2 -lm -luuid -lintl
>  $(call mkdep,mkfs.ubifs/,mkfs.ubifs,,ubi-utils/libubi.a)
>  
>  #

It turned out that this is unrelated to mtd. Reject this.



More information about the linux-mtd mailing list