diff mkoctfile.in @ 10901:860427ac9b77

Add ability to pass -pthread through to linker in mkoctfile. Bug #30605
author Rik <octave@nomad.inbox5.com>
date Fri, 20 Aug 2010 14:55:53 -0700
parents cd16c1c3bc73
children 5eb10763069f
line wrap: on
line diff
--- a/mkoctfile.in
+++ b/mkoctfile.in
@@ -284,6 +284,9 @@
     -[lLR]* | -Wl,*)
       ldflags="$ldflags $1"
     ;;
+    -pthread)
+      ldflags="$ldflags $1"
+    ;;
     -M | -depend | --depend)
       depend=true
       compile=false