summaryrefslogtreecommitdiffstats
path: root/subsurface-configure.pri
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-02 15:04:21 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-02 18:31:36 -0800
commita1cd2306255a3a3bdcd47ffd11af884df7ed331c (patch)
tree5855a9a739b245a14d1c5d4fb2b40f60d0d4d31d /subsurface-configure.pri
parentfabdb6b65ca32180330434953079e3dc806a97d6 (diff)
downloadsubsurface-a1cd2306255a3a3bdcd47ffd11af884df7ed331c.tar.gz
Ubuntu packaging: include static libmarblewidget
Still all Qt4 based. Baby steps. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-configure.pri')
-rw-r--r--subsurface-configure.pri12
1 files changed, 10 insertions, 2 deletions
diff --git a/subsurface-configure.pri b/subsurface-configure.pri
index 4c55c8b67..5f8be2ba4 100644
--- a/subsurface-configure.pri
+++ b/subsurface-configure.pri
@@ -156,11 +156,19 @@ contains(QMAKE_PLATFORM, android): DEFINES += NO_MARBLE NO_USERMANUAL NO_PRINTIN
!isEmpty(LIBMARBLEDEVEL) {
# find it next to our sources
INCLUDEPATH += $$LIBMARBLEDEVEL/include
- LIBS += -L$$LIBMARBLEDEVEL/lib
+ isEmpty(LIBMARBLESTATIC) {
+ LIBS += -L$$LIBMARBLEDEVEL/lib
+ }
}
!contains(DEFINES, NO_MARBLE) {
win32: CONFIG(debug, debug|release): LIBS += -lmarblewidgetd
- else: LIBS += -lmarblewidget
+ else: {
+ isEmpty(LIBMARBLESTATIC) {
+ LIBS += -lmarblewidget
+ } else {
+ LIBS += $$LIBMARBLEDEVEL/src/lib/marble/libmarblewidget.a
+ }
+ }
}
libgit21-api {