diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2004-10-25 11:20:48 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2004-10-25 11:20:48 +0000 |
commit | 6b6f8ad3ba2dfdc7bb115b4bd69d3da30e198367 (patch) | |
tree | 4fbf6ff6ae86245440cd47885f36ec77eb0c5e47 /net/asterisk/files/patch-channels::Makefile | |
parent | Have it configure without questions when DBI is installed. (diff) |
Since H.323 module is written in C++ use $(CXX) to link it, not $(CC). This
fixes `Undefined symbol "__ls__7ostreamPCc"' when loading chan_h323.so module.
Bump PORTREVISION.
Reported by: Christophe Prevotaux <c.prevotaux@rural-networks.com>
Notes
Notes:
svn path=/head/; revision=120127
Diffstat (limited to 'net/asterisk/files/patch-channels::Makefile')
-rw-r--r-- | net/asterisk/files/patch-channels::Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/asterisk/files/patch-channels::Makefile b/net/asterisk/files/patch-channels::Makefile index 98caab3a33d6..f10e4bcbf3eb 100644 --- a/net/asterisk/files/patch-channels::Makefile +++ b/net/asterisk/files/patch-channels::Makefile @@ -72,7 +72,7 @@ $FreeBSD$ -chan_h323.so: chan_h323.o h323/libchanh323.a - $(CC) $(SOLINK) -o $@ $< h323/libchanh323.a $(CHANH323LIB) -L$(PWLIBDIR)/lib $(PTLIB) -L$(OPENH323DIR)/lib $(H323LIB) -L/usr/lib -lcrypto -lssl -lexpat +chan_h323.so: chan_h323.o h323/ast_h323.o -+ $(CC) $(SOLINK) -o $@ $< h323/ast_h323.o -L$(OPENH323DIR)/lib $(H323LIB) -L$(PWLIBDIR)/lib $(PTLIB) -lcrypto -lssl -L$(LOCALBASE)/lib -lexpat -llber -lldap -lldap_r ++ $(CXX) $(SOLINK) -o $@ $< h323/ast_h323.o -L$(OPENH323DIR)/lib $(H323LIB) -L$(PWLIBDIR)/lib $(PTLIB) -lcrypto -lssl -L$(LOCALBASE)/lib -lexpat -llber -lldap -lldap_r +h323/ast_h323.o: + $(MAKE) -C h323 ast_h323.o |