mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-15 22:38:08 +00:00
Fix astman build (bug #1930)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3321 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -8,8 +8,7 @@ ifeq ($(findstring BSD,${OSARCH}),BSD)
|
|||||||
CFLAGS+=-I/usr/local/include -L/usr/local/lib
|
CFLAGS+=-I/usr/local/include -L/usr/local/lib
|
||||||
endif
|
endif
|
||||||
|
|
||||||
TARGET=$(shell if [ -f /usr/include/newt.h ]; then echo "astman"; else echo "none" ; fi)
|
TARGET=$(shell if [ -f /usr/include/newt.h ]; then echo "astman"; else if [ -f /usr/local/include/newt.h ]; then echo "astman"; else echo "none" ; fi ; fi)
|
||||||
TARGET=$(shell if [ -f /usr/local/include/newt.h ]; then echo "astman"; else echo "none" ; fi)
|
|
||||||
all: depend $(TARGET)
|
all: depend $(TARGET)
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
|||||||
Reference in New Issue
Block a user