diff --git a/package/e2fsprogs/patches/100_add_missing_libpthread_for_blkid b/package/e2fsprogs/patches/100_add_missing_libpthread_for_blkid new file mode 100644 index 0000000000..9ed9ccab97 --- /dev/null +++ b/package/e2fsprogs/patches/100_add_missing_libpthread_for_blkid @@ -0,0 +1,11 @@ +--- a/lib/blkid/Makefile.in ++++ b/lib/blkid/Makefile.in +@@ -126,7 +126,7 @@ tst_types: tst_types.o blkid_types.h + + blkid: ../../misc/blkid.o libblkid.a $(DEPLIBUUID) + $(E) " LD $@" +- $(Q) $(CC) -o blkid ../../misc/blkid.o libblkid.a $(LIBUUID) ++ $(Q) $(CC) -lpthread -o blkid ../../misc/blkid.o libblkid.a $(LIBUUID) + + test_probe: test_probe.in Makefile + $(E) "Creating test_probe..."