Pass down into esl the LDFLAGS, fixes finding libncurses on NetBSD too.

This commit is contained in:
Brian West 2014-03-05 06:21:53 -06:00
parent 039f28d136
commit 6ed4ad7e20
2 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,7 @@ CFLAGS=$(BASE_FLAGS) $(PICKY) $(SYSTEM_CFLAGS)
CXXFLAGS=$(BASE_FLAGS)
MYLIB=libesl.a
LIBS=-lncurses -lesl -lpthread -lm $(TINFO_LIBS)
LDFLAGS=-L.
LDFLAGS=-L. $(SYSTEM_LDFLAGS)
OBJS=src/esl.o src/esl_event.o src/esl_threadmutex.o src/esl_config.o src/esl_json.o src/esl_buffer.o
SRC=src/esl.c src/esl_json.c src/esl_event.c src/esl_threadmutex.c src/esl_config.c src/esl_oop.cpp src/esl_json.c src/esl_buffer.c
HEADERS=src/include/esl_config.h src/include/esl_event.h src/include/esl.h src/include/esl_threadmutex.h src/include/esl_oop.h src/include/esl_json.h src/include/esl_buffer.h

View File

@ -1,4 +1,5 @@
TINFO_LIBS=@TINFO_LIBS@
SYSTEM_CFLAGS=@CFLAGS@
SYSTEM_LDFLAGS=@LDFLAGS@
CXX=@CXX@