diff options
Diffstat (limited to 'agi')
-rwxr-xr-x | agi/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/agi/Makefile b/agi/Makefile index 999a07762..8cea3499f 100755 --- a/agi/Makefile +++ b/agi/Makefile @@ -17,7 +17,11 @@ CFLAGS+= LIBS= ifeq ($(OSARCH),SunOS) -LIBS=-lsocket -lnsl ../strcompat.o + LIBS=-lsocket -lnsl ../strcompat.o +endif + +ifeq ($(findstring BSD,${OSARCH}),BSD) + CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/local/include -L$(CROSS_COMPILE_TARGET)/usr/local/lib endif all: depend $(AGIS) |