view src/of-fl-core-1-fixes.patch @ 3419:e7e29aeea726

Add octave forge 'fl-core' package * Makefile.in: Add of-fl-core. * build_packages.m: Add install of fl-core-1.0.3.tar.gz * dist-files: Add of-fl-core.mk, of-fl-core-1-fixes.patch. * index.html: Added of-fl-core-package. * src/of-fl-core.mk: New file. * src/of-fl-core-1-fixes.patch: New file.
author John Donoghue <john.donoghue@ieee.org>
date Mon, 13 Jan 2014 18:26:59 -0500
parents
children 207b5f6713d9
line wrap: on
line source

--- Makefile.sf	2014-01-12 21:32:17 -0500
+++ Makefile	2014-01-12 21:40:00 -0500
@@ -3,10 +3,14 @@
 BASE := $(OCT:.oct=)
 
 ifdef COMSPEC 
+ifneq (,$(findstring mingw,$(shell octave-config -p CANONICAL_HOST_TYPE)))
+	ADDPARAM := -lpthread
+else
 ifneq ($(shell uname -o),Cygwin)
 	ADDPARAM := -lpthreadVC2
 endif
 endif
+endif
 
 .phony: all
 all: $(OCT)