Fix build on OpenBSD and fix small typo. (Bug #3502)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4959 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Josh Roberson
2005-02-04 00:14:10 +00:00
parent 6eca96c657
commit d271dfa7af
2 changed files with 7 additions and 4 deletions

View File

@@ -53,6 +53,9 @@ APPS+=$(shell if [ -f /usr/include/osp/osp.h ]; then echo "app_osplookup.so" ; f
CURLLIBS=$(shell curl-config --libs)
ifneq (${CURLLIBS},)
APPS+=app_curl.so
ifeq (${OSARCH},OpenBSD)
CFLAGS+=-I/usr/local/include
endif
endif
CFLAGS+=-fPIC