summaryrefslogtreecommitdiffstats
path: root/subsurface.pro
diff options
context:
space:
mode:
authorGravatar Thiago Macieira <thiago@macieira.org>2014-10-13 13:05:17 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-10-14 20:26:32 +0200
commit098f94695a44f22f1d8993a2ff87c036a4e10600 (patch)
treea5976cc256c998ae1460e01653f40aff7cac6b79 /subsurface.pro
parentd7cae093bef23e9757c67172b5b5e11f2d4948dc (diff)
downloadsubsurface-098f94695a44f22f1d8993a2ff87c036a4e10600.tar.gz
Fix compilation on other Unix besides Linux
The linux.c file is really for just generic Unix systems, so adapt the .pro file logic to match. Signed-off-by: Thiago Macieira <thiago@macieira.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface.pro')
-rw-r--r--subsurface.pro6
1 files changed, 3 insertions, 3 deletions
diff --git a/subsurface.pro b/subsurface.pro
index 1e85b1165..176e23ffe 100644
--- a/subsurface.pro
+++ b/subsurface.pro
@@ -191,9 +191,9 @@ SOURCES = \
qt-ui/statistics/monthstatistics.cpp
android: SOURCES += android.cpp
-else: linux*: SOURCES += linux.c
-mac: SOURCES += macos.c
-win32: SOURCES += windows.c
+else: win32: SOURCES += windows.c
+else: mac: SOURCES += macos.c
+else: SOURCES += linux.c # All other Unix, really
android: SOURCES -= \
qt-ui/usermanual.cpp \