[asterisk-commits] qwell: trunk r227372 - in /trunk: Makefile main/Makefile

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Nov 3 13:59:53 CST 2009


Author: qwell
Date: Tue Nov  3 13:59:46 2009
New Revision: 227372

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=227372
Log:
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

Modified:
    trunk/Makefile
    trunk/main/Makefile

Modified: trunk/Makefile
URL: http://svnview.digium.com/svn/asterisk/trunk/Makefile?view=diff&rev=227372&r1=227371&r2=227372
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Tue Nov  3 13:59:46 2009
@@ -276,7 +276,7 @@
 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 .)

Modified: trunk/main/Makefile
URL: http://svnview.digium.com/svn/asterisk/trunk/main/Makefile?view=diff&rev=227372&r1=227371&r2=227372
==============================================================================
--- trunk/main/Makefile (original)
+++ trunk/main/Makefile Tue Nov  3 13:59:46 2009
@@ -77,7 +77,7 @@
 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
 




More information about the asterisk-commits mailing list