]> err.no Git - util-linux/commitdiff
build-sys: provide missing strnlen from strutils
authorFabian Groffen <grobian@gentoo.org>
Tue, 25 Jan 2011 21:45:51 +0000 (22:45 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 31 Jan 2011 15:49:50 +0000 (16:49 +0100)
Solaris lacks strnlen, provide it from strutils.c.

Signed-off-by: Fabian Groffen <grobian@gentoo.org>
shlibs/blkid/src/Makefile.am

index 1c114388aa0d26e4b802d99fc526caf90b67f155..73f0030fc06c7a0e1f2c4736148dfbbb06010972 100644 (file)
@@ -33,7 +33,8 @@ libblkid_la_SOURCES = cache.c dev.c devname.c devno.c getsize.c llseek.c  \
                     $(top_srcdir)/lib/md5.c \
                     $(top_srcdir)/lib/crc32.c \
                     $(top_srcdir)/include/list.h \
-                    $(top_srcdir)/lib/env.c
+                    $(top_srcdir)/lib/env.c \
+                    $(top_srcdir)/lib/strutils.c
 
 nodist_libblkid_la_SOURCES = blkid.h