aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-11-03 19:59:46 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2009-11-03 19:59:46 +0000
commit51cf1efae724586ba176855f4d368806d814fad4 (patch)
treeb1ec157d22088dc259963985340d4a2e31230b53
parent51baadc56bd3701670d47ff95bc1373c71b8ba23 (diff)
Fix some build issues on Solaris.
(closes issue #14517) (SWP-109) Reported by: asgaroth Patches: bug_14517.diff uploaded by snuffy (license 35) Tested by: asgaroth, snuffy, dougm, qwell git-svn-id: http://svn.digium.com/svn/asterisk/trunk@227372 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--Makefile2
-rw-r--r--main/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 784e9a7ac..fb7e0ebad 100644
--- a/Makefile
+++ b/Makefile
@@ -276,7 +276,7 @@ ifeq ($(OSARCH),OpenBSD)
endif
ifeq ($(OSARCH),SunOS)
- _ASTCFLAGS+=-Wcast-align -DSOLARIS -I../include/solaris-compat -I/opt/ssl/include -I/usr/local/ssl/include -D_XPG4_2
+ _ASTCFLAGS+=-Wcast-align -DSOLARIS -I../include/solaris-compat -I/opt/ssl/include -I/usr/local/ssl/include -D_XPG4_2 -D__EXTENSIONS__
endif
ASTERISKVERSION:=$(shell GREP=$(GREP) AWK=$(AWK) build_tools/make_version .)
diff --git a/main/Makefile b/main/Makefile
index 46f2301b1..d1bde94c6 100644
--- a/main/Makefile
+++ b/main/Makefile
@@ -77,7 +77,7 @@ ifeq ($(OSARCH),OpenBSD)
endif
ifeq ($(OSARCH),SunOS)
- AST_LIBS+=-lpthread -ldl -lnsl -lsocket -lresolv -L/opt/ssl/lib -L/usr/local/ssl/lib
+ AST_LIBS+=-lpthread -ldl -lrt -lnsl -lsocket -lresolv -L/opt/ssl/lib -L/usr/local/ssl/lib
ASTLINK=
endif