Tags: +patch

Hi,

this fixes the ftbfs but I'm not quite sure about the consequences it might have for software linking to podofo - i.e. would other classes also need to be explicitly exported like done in the patch?
I hope I can give it some testing this weekend.

Best,
Philip
---
 src/podofo/base/PdfEncrypt.h | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/podofo/base/PdfEncrypt.h b/src/podofo/base/PdfEncrypt.h
--- a/src/podofo/base/PdfEncrypt.h
+++ b/src/podofo/base/PdfEncrypt.h
@@ -447,2 +447,2 @@
-class PdfEncryptSHABase : public PdfEncrypt {
+class PODOFO_API PdfEncryptSHABase : public PdfEncrypt {
 public:
@@ -534,2 +534,2 @@
-class PdfEncryptAESBase {
+class PODOFO_API PdfEncryptAESBase {
 public:
@@ -560,2 +560,2 @@
-class PdfEncryptRC4Base {
+class PODOFO_API PdfEncryptRC4Base {
 public:
@@ -577,4 +577,4 @@
-class PdfEncryptMD5Base : public PdfEncrypt {
+class PODOFO_API PdfEncryptMD5Base : public PdfEncrypt {
 #else
-class PdfEncryptMD5Base : public PdfEncrypt, public PdfEncryptRC4Base {
+class PODOFO_API PdfEncryptMD5Base : public PdfEncrypt, public PdfEncryptRC4Base {
 #endif // PODOFO_HAVE_OPENSSL_NO_RC4
@@ -662,2 +662,2 @@
-class PdfEncryptAESV2 : public PdfEncryptMD5Base, public PdfEncryptAESBase {
+class PODOFO_API PdfEncryptAESV2 : public PdfEncryptMD5Base, public PdfEncryptAESBase {
 public:
@@ -712,2 +712,2 @@
-class PdfEncryptAESV3 : public PdfEncryptSHABase, public PdfEncryptAESBase {
+class PODOFO_API PdfEncryptAESV3 : public PdfEncryptSHABase, public PdfEncryptAESBase {
 public:

Reply via email to