uml: update to linux 4.4
[openwrt/svn-archive/archive.git] / target / linux / uml / patches-4.4 / 100-link-libpthread.patch
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 (file)
index 0000000..297f6d5
--- /dev/null
@@ -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
+ }