[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] Forgotten -lsocket references



Hi guys,

after some non-falcon programming I'm back :) For some strange reason I decided to compile freemint + tools from scratch and I realized there's unpatched hole in compilation chain after 0.58 mintlib release. It was trivial to fix so here you are.

--
MiKRO / Mystic Bytes
http://mikro.atari.org

Index: tools/gluestik/Makefile
===================================================================
RCS file: /mint/freemint/tools/gluestik/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- tools/gluestik/Makefile	27 Apr 2001 20:17:43 -0000	1.5
+++ tools/gluestik/Makefile	31 Aug 2008 13:32:47 -0000
@@ -22,7 +22,6 @@
 
 # default definitions
 OBJS = $(COBJS:.c=.o)
-LIBS += -lsocket
 GENFILES = $(TARGET)
 
 $(TARGET): $(OBJS)
Index: tools/mgw/Makefile
===================================================================
RCS file: /mint/freemint/tools/mgw/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- tools/mgw/Makefile	27 Apr 2001 20:17:43 -0000	1.6
+++ tools/mgw/Makefile	31 Aug 2008 13:32:48 -0000
@@ -22,7 +22,6 @@
 
 # default definitions
 OBJS = $(COBJS:.c=.o)
-LIBS += -lsocket
 GENFILES = $(TARGET)
 
 $(TARGET): $(OBJS)
Index: tools/net-tools/Makefile
===================================================================
RCS file: /mint/freemint/tools/net-tools/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- tools/net-tools/Makefile	18 Sep 2007 14:59:21 -0000	1.3
+++ tools/net-tools/Makefile	31 Aug 2008 13:32:48 -0000
@@ -28,9 +28,6 @@
 
 all-here: $(TARGETS)
 
-# default overwrites
-LIBS = -lsocket
-
 # default definitions
 OBJS = $(COBJS:.c=.o)
 GENFILES = $(TARGETS)
Index: tools/net-tools/slinkctl/Makefile
===================================================================
RCS file: /mint/freemint/tools/net-tools/slinkctl/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- tools/net-tools/slinkctl/Makefile	18 Sep 2007 14:59:21 -0000	1.1
+++ tools/net-tools/slinkctl/Makefile	31 Aug 2008 13:32:48 -0000
@@ -23,7 +23,6 @@
 # default definitions
 OBJS = $(COBJS:.c=.o)
 GENFILES = $(TARGET)
-LIBS += -lsocket
 
 
 $(TARGET): $(OBJS)
Index: tools/net-tools/tests/Makefile
===================================================================
RCS file: /mint/freemint/tools/net-tools/tests/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- tools/net-tools/tests/Makefile	27 Apr 2001 20:17:43 -0000	1.2
+++ tools/net-tools/tests/Makefile	31 Aug 2008 13:32:48 -0000
@@ -37,9 +37,6 @@
 
 all-here: $(TARGETS)
 
-# default overwrites
-LIBS = -lsocket
-
 # default definitions
 OBJS = $(COBJS:.c=.o)
 GENFILES = $(TARGETS)
Index: tools/nfs/Makefile
===================================================================
RCS file: /mint/freemint/tools/nfs/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- tools/nfs/Makefile	27 Apr 2001 20:17:43 -0000	1.4
+++ tools/nfs/Makefile	31 Aug 2008 13:32:48 -0000
@@ -22,7 +22,6 @@
 
 # default definitions
 OBJS = $(COBJS:.c=.o)
-LIBS += -lsocket
 GENFILES = $(TARGET)
 
 $(TARGET): $(OBJS)
Index: tools/strace/Makefile
===================================================================
RCS file: /mint/freemint/tools/strace/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- tools/strace/Makefile	6 Aug 2004 18:09:27 -0000	1.3
+++ tools/strace/Makefile	31 Aug 2008 13:32:48 -0000
@@ -26,7 +26,6 @@
 
 MASTER = $(top_srcdir)/../sys/syscalls.master
 DEFINITIONS += -D_GNU_SOURCE
-LIBS += -lsocket
 
 NOCFLAGS-print.c = -Wcast-qual