changeset 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 b64803a8be4e
children 9a64e02e2aad
files ChangeLog mkoctfile.in
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-08-09  John Swensen <jpswensen@gmail.com>
+
+	* mkoctfile.in: Add ability to pass -pthread through to linker.
+
 2010-08-13  Jaroslav Hajek  <highegg@gmail.com>
 
 	* NEWS: Update.
--- 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