aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/uml/patches-4.4/100-link-libpthread.patch
blob: 297f6d528f34149421be2c1971137c07f7933664 (plain)
1
2
3
4
5
6
7
8
9
10
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
 }