summaryrefslogtreecommitdiff
path: root/target/linux/uml/patches-4.4/100-link-libpthread.patch
blob: 2ffab6bbfb6bfed596d1f72ccf1db00f06c02d4d (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 @@ vmlinux_link()
 			-Wl,--start-group                                    \
 				 ${KBUILD_VMLINUX_MAIN}                      \
 			-Wl,--end-group                                      \
-			-lutil -lrt ${1}
+			-lutil -lrt -lpthread ${1}
 		rm -f linux
 	fi
 }