summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/SConscript9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/SConscript b/src/SConscript
index bd97efa..de53410 100644
--- a/src/SConscript
+++ b/src/SConscript
@@ -16,6 +16,9 @@
Import( 'env' )
myenv=env.Clone()
+import os
+from SCons.Script.SConscript import SConsEnvironment
+
#############################
## the programs to build
@@ -66,7 +69,11 @@ myenv.Append(CXXFLAGS = '-Wno-non-virtual-dtor -I/usr/include/tqt -include tqt.h
myenv.KDEaddpaths_includes('#/src/ #/')
## Necessary libraries to link against
-myenv.KDEaddlibs( 'qt-mt tqt kio tdecore tdeprint tdeui DCOP' )
+## FIXME
+if os.path.isfile("/usr/include/tqt3/qlayout.h"):
+ myenv.KDEaddlibs( 'tqt-mt tqt kio tdecore tdeprint tdeui DCOP' )
+else:
+ myenv.KDEaddlibs( 'qt-mt tqt kio tdecore tdeprint tdeui DCOP' )
#############################
## Data to install