summaryrefslogtreecommitdiff
path: root/package/e2fsprogs/patches/100_add_missing_libpthread_for_blkid.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/e2fsprogs/patches/100_add_missing_libpthread_for_blkid.patch')
-rw-r--r--package/e2fsprogs/patches/100_add_missing_libpthread_for_blkid.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/e2fsprogs/patches/100_add_missing_libpthread_for_blkid.patch b/package/e2fsprogs/patches/100_add_missing_libpthread_for_blkid.patch
new file mode 100644
index 0000000000..9ed9ccab97
--- /dev/null
+++ b/package/e2fsprogs/patches/100_add_missing_libpthread_for_blkid.patch
@@ -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..."