view src/mingw-of-sockets-1-winsock.patch @ 3381:311f0d70597b

Add octave forge sockets package * Makefile.in: add sockets to OCTAVE_FORGE_PACKAGES, fix forge install rule to install newly tar zipped files instead of copying from pkg/. * build_packages: add sockets-1.0.8.tar.gz * dist-files.mk: add of-sockets.mk and mingw-of-sockets-1-winsock.patch * index.html: add of-sockets-package. * src/of-sockets.mk: New file. * src/mingw-of-sockets-1-winsock.patch: new file.
author John Donoghue <john.donoghue@ieee.org>
date Tue, 31 Dec 2013 23:33:29 -0500
parents
children
line wrap: on
line source

diff -ur sockets.orig/src/Makefile sockets/src/Makefile
--- sockets.orig/src/Makefile	2013-12-31 22:17:49.000000000 -0500
+++ sockets/src/Makefile	2013-12-31 22:25:31.000000000 -0500
@@ -14,7 +14,7 @@
 all: $(OCT)
 
 %.oct: %.cc
-	mkoctfile $(VFLAGS) -s $<
+	mkoctfile $(VFLAGS) -s $< -lws2_32
 
 test: $(OCT)
 	test_octave_sockets