fix detection of liblocation...
[googlelatitude] / googlelatitude.pro
index a667d92..e8f8bd5 100644 (file)
@@ -15,7 +15,10 @@ LIBS        +=
 DEFINES     +=
 CONFIG      += link_pkgconfig
 PKGCONFIG   += glib-2.0 liblocation
-
+exists(/usr/lib/liblocation.so) {
+    DEFINES += LIBLOCATION
+    message(liblocation found)
+}
 install_app.commands = $(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)/usr/bin/$(QMAKE_TARGET)
 install_dsk.commands = $(INSTALL_FILE) data/$(QMAKE_TARGET).desktop $(DESTDIR)/usr/share/applications/hildon/$(QMAKE_TARGET).desktop
 install.depends = $(TARGET) install_app install_dsk