contrib: fix the build
authorFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 26 Feb 2015 01:17:40 +0000 (02:17 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Thu, 26 Feb 2015 10:27:56 +0000 (11:27 +0100)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
contrib/netsimpcap/Makefile

index 3531a70..2f19ca8 100644 (file)
@@ -3,9 +3,9 @@ SRC +=  $(wildcard ./src/*.c)
 OBJS = $(SRC:.c=.o)
 
 CC = gcc
-CFLAGS = -c -g -Wall -Werror -I./src
+CFLAGS = -c -g -Wall -Werror -I./src -I../../src
 LFLAGS = -g -Wall 
-BUILDLIBS = -lpcap -Wl
+BUILDLIBS = -lpcap
 
 .c.o:
        ${CC} ${CFLAGS} -o $@ $^