summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/tqca-tls/tqca-tls-14.0.0-visibility.patch
blob: 095b5508cfc37b971a4f58d25ceb631eca053b0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
diff --git a/configure b/configure
index 0ced074..7a6fcfe 100755
--- a/configure
+++ b/configure
@@ -44,7 +44,7 @@ while [ $# -gt 0 ]; do
 done
 
 
-echo "Configuring qca-tls ..."
+echo "Configuring tqca-tls ..."
 
 if [ "$QC_DEBUG" = "Y" ]; then
 echo
diff --git a/qca-tls.pro b/qca-tls.pro
index c1541bf..2457746 100644
--- a/qca-tls.pro
+++ b/qca-tls.pro
@@ -1,8 +1,8 @@
-# qca-tls qmake profile
+# tqca-tls qmake profile
 
 TEMPLATE = lib
 CONFIG  += qt thread release plugin
-TARGET   = qca-tls
+TARGET   = tqca-tls
 
 !exists(qcaprovider.h) {
   Q_PREFIX = ../../src
@@ -13,9 +13,9 @@ HEADERS += ($$Q_PREFIX)qcaprovider.h
 HEADERS = qca-tls.h
 SOURCES = qca-tls.cpp
 
-DEFINES += QCA_PLUGIN
+DEFINES += TQCA_PLUGIN
 win32:{
-	DEFINES += QCA_PLUGIN_DLL OSSL_097
+	DEFINES += TQCA_PLUGIN_DLL OSSL_097
 	INCLUDEPATH += c:\local\include
 	LIBS += c:\local\lib\libeay32.lib c:\local\lib\ssleay32.lib
 }
diff --git a/qca-tls.qc b/qca-tls.qc
index ef0a739..91179cf 100644
--- a/qca-tls.qc
+++ b/qca-tls.qc
@@ -1,5 +1,5 @@
 <qconf>
- <name>qca-tls</name>
+ <name>tqca-tls</name>
  <profile>qca-tls.pro</profile>
  <noprefix/>
  <dep type='openssl'>
diff --git a/qca.h b/qca.h
index 184a4b0..ccd6d03 100644
--- a/qca.h
+++ b/qca.h
@@ -49,7 +49,7 @@
 #  endif
 #endif
 #ifndef TQCA_PLUGIN_EXPORT
-#define TQCA_PLUGIN_EXPORT extern "C"
+#define TQCA_PLUGIN_EXPORT extern "C" __attribute__ ((visibility ("default")))
 #endif
 
 class TQHostAddress;