summaryrefslogtreecommitdiffstats
path: root/package/e2fsprogs/patches
diff options
context:
space:
mode:
Diffstat (limited to 'package/e2fsprogs/patches')
-rw-r--r--package/e2fsprogs/patches/100_add_missing_libpthread_for_blkid11
1 files changed, 11 insertions, 0 deletions
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 000000000..9ed9ccab9
--- /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..."