Mercurial > mxe-octave
annotate src/of-sockets-1-cross-fixes.patch @ 4673:010dc6a420ff
stable-octave: bump version number
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 19 Apr 2018 21:57:06 -0400 |
parents | 9ceedf18871e |
children |
rev | line source |
---|---|
3854 | 1 diff -ur octave-sockets-1.2.0.orig/src/Makefile octave-sockets-1.2.0/src/Makefile |
2 --- octave-sockets-1.2.0.orig/src/Makefile 2015-03-20 10:24:40.824141293 -0400 | |
3 +++ octave-sockets-1.2.0/src/Makefile 2015-03-20 11:31:54.325799984 -0400 | |
4 @@ -8,12 +8,15 @@ | |
5 SRC := $(OCT:.oct=.cc) | |
6 | |
7 MKOCTFILE ?= mkoctfile -Wall | |
3858
9ceedf18871e
use OCTAVE_CONFIG as octave-config variable name
John Donoghue <john.donoghue@ieee.org>
parents:
3854
diff
changeset
|
8 +OCTAVE_CONFIG ?= octave-config |
3854 | 9 OCTAVE ?= octave |
10 | |
3858
9ceedf18871e
use OCTAVE_CONFIG as octave-config variable name
John Donoghue <john.donoghue@ieee.org>
parents:
3854
diff
changeset
|
11 +CANONICAL_HOST_TYPE := $(shell $(OCTAVE_CONFIG) -p CANONICAL_HOST_TYPE)) |
3854 | 12 + |
13 #The following is necessary to get the sockets package working in Windows. | |
14 #It has been tried on Win7 and XP, in Octave 3.8.0 using mxe-octave (mingw) | |
15 EXTRALIBS := | |
16 -ifeq ($(OS),Windows_NT) | |
17 +ifneq (,$(findstring mingw,$(CANONICAL_HOST_TYPE))) | |
18 EXTRALIBS := -lws2_32 | |
19 endif | |
20 |