summaryrefslogtreecommitdiffstats
path: root/target/linux/uml/patches-4.4/100-link-libpthread.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/uml/patches-4.4/100-link-libpthread.patch')
-rw-r--r--target/linux/uml/patches-4.4/100-link-libpthread.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/uml/patches-4.4/100-link-libpthread.patch b/target/linux/uml/patches-4.4/100-link-libpthread.patch
new file mode 100644
index 0000000000..297f6d528f
--- /dev/null
+++ b/target/linux/uml/patches-4.4/100-link-libpthread.patch
@@ -0,0 +1,11 @@
+--- a/scripts/link-vmlinux.sh
++++ b/scripts/link-vmlinux.sh
+@@ -62,7 +62,7 @@
+ -Wl,--start-group \
+ ${KBUILD_VMLINUX_MAIN} \
+ -Wl,--end-group \
+- -lutil -lrt ${1}
++ -lutil -lrt -lpthread ${1}
+ rm -f linux
+ fi
+ }