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>
This commit is contained in:
parent
ee6f0e418c
commit
6b6f8ad3ba
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120127
7 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue