summaryrefslogtreecommitdiff
path: root/main/Makefile
diff options
context:
space:
mode:
authorLuigi Rizzo <rizzo@icir.org>2006-10-22 19:09:25 +0000
committerLuigi Rizzo <rizzo@icir.org>2006-10-22 19:09:25 +0000
commitc15f7953c8192d09d5cdda7248a4366e66346212 (patch)
treef9e3708612b6c436093a561ee294e0e612003d24 /main/Makefile
parente8a65b715575fa2695825dd3f3f50a2cddd3cc95 (diff)
Fix a few issues in the previous (disabled) HTTPS code,
and support linux as well (using fopencookie(), which should be available in glibc). Update configure.ac to check for funopen (BSD) and fopencookie(glibc), and while we are at it also for gethostbyname_r (the generated files need to be updated, or you need to run bootstrap.sh yourself). Document the new options in http.conf.sample (names are only tentative, better ones are welcome). At this point we can safely enable the option. Anyone willing to try this on Sun and Apple platforms ? git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45892 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/Makefile')
-rw-r--r--main/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/Makefile b/main/Makefile
index 4a47104f2..3e631d769 100644
--- a/main/Makefile
+++ b/main/Makefile
@@ -37,6 +37,8 @@ OBJS+=stdtime/localtime.o
# by a module.
OBJS+=say.o
+AST_LIBS += $(SSL_LIB)
+
ifeq ($(wildcard /usr/include/sys/poll.h),)
OBJS+=poll.o
ASTCFLAGS+=-DPOLLCOMPAT