]> git.ipfire.org Git - thirdparty/asterisk.git/commit
main/Makefile: Fix build failure on SmartOS/Illumos/SunOS
authorMatthew Jordan <mjordan@digium.com>
Thu, 17 Apr 2014 20:06:11 +0000 (20:06 +0000)
committerMatthew Jordan <mjordan@digium.com>
Thu, 17 Apr 2014 20:06:11 +0000 (20:06 +0000)
commitd78c26ac978859584575d3de442baf1fe8140e85
tree348c39c0127e7ab53046b0215960fc74d47bccb7
parentbb3b4352ac83fe2afd21662152bfb305a076fdaa
main/Makefile: Fix build failure on SmartOS/Illumos/SunOS

This patch 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

Review: https://reviewboard.asterisk.org/r/3426

ASTERISK-23576 #close
Reported by: Sebastian Wiedenroth
patches:
  fix-sunos.diff uploaded by Sebastian Wiedenroth (License 6597)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@412468 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_oss.c
main/Makefile