Allow static building on 64 bit platforms as well.
[quassel.git] / build / targets / target.pri
index ed9423e..ff503f0 100644 (file)
@@ -10,7 +10,7 @@ SRCPATH = ../../src
 OBJECTS_DIR = .$$TARGET
 RCC_DIR     = .$$TARGET
 
-linux-g++:static {
+linux-g++*:static {
   # We put libs in contrib/libs that should be linked statically, especially libstdc++.a
   LIBS *= -L../contrib/libs
   QMAKE_LFLAGS *= -static-libgcc
@@ -19,7 +19,7 @@ linux-g++:static {
 for(mod, MODULES) {
   INCLUDEPATH *= $$SRCPATH/$$mod
   LIBS *= -L../modules/$$dirname(mod) -l$$basename(mod)
-  #PRE_TARGETDEPS *= ../modules/$$mod
+  PRE_TARGETDEPS *= ../modules/$$mod
 }
 PRE_TARGETDEPS *= ../../version.inc