blob: 5698aa08b7525c75c262ade42ecb86dee86d6e43 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- src/c/bav/GNUmakefile.orig 2013-09-11 08:30:37 UTC
+++ src/c/bav/GNUmakefile
@@ -20,13 +20,13 @@
# Contributor(s): AGNITAS AG.
##################################################################################
-CC = gcc
-CFLAGS = -I../lib $(shell sa-config --cflags) -pthread
+CC = clang
+CFLAGS = -I../lib -I/usr/local/lib -I/usr/local/include $(shell sa-config --cflags) -pthread
LDFLAGS = -L../lib $(shell sa-config --ldflags) -pthread
# required for Ubuntu 9.10 by user request
LDFLAGS := $(LDFLAGS) -L/usr/lib/libmilter
#
-LIBS = -lagn -lmilter $(shell sa-config --libs)
+LIBS = -lagn -lmilter -lex $(shell sa-config --libs)
SRCBAV = bav.c cfg.c
SRCWRP = bavwrap.c store.c
OBJBAV = $(SRCBAV:%.c=%.o)
|