]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 368928 via svnmerge from
authorAutomerge script <automerge@asterisk.org>
Thu, 14 Jun 2012 16:23:04 +0000 (16:23 +0000)
committerAutomerge script <automerge@asterisk.org>
Thu, 14 Jun 2012 16:23:04 +0000 (16:23 +0000)
file:///srv/subversion/repos/asterisk/branches/10

................
  r368928 | mmichelson | 2012-06-14 10:25:23 -0500 (Thu, 14 Jun 2012) | 10 lines

  Revert Makefile change to remove embedding res_adsi.so

  The change has resulted in a linking error for certain versions
  of GCC. This is much worse than the original issue, so for now,
  temporarily revert the change. A more thorough change will be
  sought out.
  ........

  Merged revisions 368927 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10-digiumphones@368946 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/Makefile

index e29e88fbde63748f98198bced6ff8d653dabd20d..728b80591a06cb14fda2b06791135c9949e61f12 100644 (file)
@@ -26,6 +26,9 @@ OBJS=$(filter-out $(OBJSFILTER),$(SRC:.c=.o))
 # otherwise modules will not have them available if none of the static
 # objects use it.
 OBJS+=stdtime/localtime.o
+ifneq ($(firstword $(subst :, ,$(WEAKREF))),1)
+OBJS+=../res/res_adsi.o
+endif
 
 AST_LIBS += $(OPENSSL_LIB)
 AST_LIBS += $(BKTR_LIB)