summaryrefslogtreecommitdiffstats
path: root/package/e2fsprogs/patches/100_add_missing_libpthread_for_blkid.patch
blob: 9ed9ccab97780ac7e6d605f971ce8ff97f12118d (plain)
1
2
3
4
5
6
7
8
9
10
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..."