summaryrefslogtreecommitdiff
path: root/apps/Makefile
diff options
context:
space:
mode:
authorJosh Roberson <josh@asteriasgi.com>2005-02-04 00:14:10 +0000
committerJosh Roberson <josh@asteriasgi.com>2005-02-04 00:14:10 +0000
commitd271dfa7af5e61e61997aaf4dd8ea897ed672e5e (patch)
tree2e81b1ecc9b330b0e084dfcfda84d1ee16b5b34e /apps/Makefile
parent6eca96c65740e88606c2f444f7a17b10b0e3945d (diff)
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
Diffstat (limited to 'apps/Makefile')
-rwxr-xr-xapps/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/Makefile b/apps/Makefile
index 8f2f4f5e6..d66ff3149 100755
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -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