Description: fix linking to stop FTBFS with --as-needed.
Author: Jackson Doak <noskcaj@ubuntu.com>
Last-Update: 2014-01-10
Forwarded: https://github.com/Rup0rt/netmate/issues/1
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@
 
 all: netmate.c layer2.h layer3.h layer4.h
 	gcc $(CPPFLAGS) $(GTK_CFLAGS) $(CFLAGS) -c netmate.c -o netmate.o
-	gcc $(GTK_LIBS) -lpcap $(LDFLAGS) netmate.o -o netmate
+	gcc $(LDFLAGS) netmate.o $(GTK_LIBS)  -lpcap -o netmate
 
 install:
 	install -D -m 755 netmate $(DESTDIR)/$(BINDIR)/netmate
