slackbuilds_ponce/network/MEGAsync/megasync-4.5.0.0_pdfium.patch
ABE Shin-ichi c034b0bb72
network/MEGAsync: Updated for version 4.5.3.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2021-08-25 12:11:46 +07:00

16 lines
543 B
Diff

diff --git a/bindings/qt/sdk.pri b/bindings/qt/sdk.pri
index 83ddc2e2f..46aa06d33 100644
--- a/bindings/qt/sdk.pri
+++ b/bindings/qt/sdk.pri
@@ -255,6 +255,11 @@ CONFIG(USE_PDFIUM) {
DEFINES += HAVE_PDFIUM
LIBS += -lpdfium
}
+ else:exists(/usr/include/pdfium/fpdfview.h) {
+ DEFINES += HAVE_PDFIUM
+ INCLUDEPATH += /usr/include/pdfium
+ LIBS += -lpdfium
+ }
}
else {#win/mac
DEFINES += HAVE_PDFIUM