[asterisk-dev] [Code Review] 3426: Fix build failure on SmartOS / Illumos / SunOS

Sebastian Wiedenroth reviewboard at asterisk.org
Tue Apr 8 14:31:13 CDT 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3426/
-----------------------------------------------------------

Review request for Asterisk Developers.


Bugs: ASTERISK-23576
    https://issues.asterisk.org/jira/browse/ASTERISK-23576


Repository: Asterisk


Description
-------

this fixes two issues when building on SmartOS:

- channels/chan_oss.c: it makes sure soundcard.h is found
- main/Makefile: only use "-Wl,--version-script" when GNU LD is used as the Sun Linker doesn't support that. Similar checks are already used elswhere in the Makefile


Diffs
-----

  /branches/11/main/Makefile 411655 
  /branches/11/channels/chan_oss.c 411655 

Diff: https://reviewboard.asterisk.org/r/3426/diff/


Testing
-------

With these modifications Asterisk builds fine when using pkgsrc-2014Q1 on SmartOS


Thanks,

Sebastian Wiedenroth

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140408/9f4db2bd/attachment.html>


More information about the asterisk-dev mailing list