From 8f89d735c695a2db293b1c2ea59eef7afd4219bc Mon Sep 17 00:00:00 2001 From: leander-256 Date: Sun, 12 Dec 2010 04:11:58 +0000 Subject: [PATCH] Adds PRE_TARGETDEPS for Linux platforms so the RetroShare binary is recompiled everytime libbitdht.a or libretroshare.a is modified. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3908 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/RetroShare.pro | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/retroshare-gui/src/RetroShare.pro b/retroshare-gui/src/RetroShare.pro index 53ed4ab69..94fc836fc 100644 --- a/retroshare-gui/src/RetroShare.pro +++ b/retroshare-gui/src/RetroShare.pro @@ -35,6 +35,8 @@ linux-* { message(Could not find gpgme-config on your system, assuming gpgme.h is in /usr/include) } + PRE_TARGETDEPS *= ../../libretroshare/src/lib/libretroshare.a + LIBS += ../../libretroshare/src/lib/libretroshare.a LIBS += -lssl -lgpgme -lupnp -lXss DEFINES *= HAVE_XSS # for idle time, libx screensaver extensions @@ -137,6 +139,10 @@ macx { bitdht { LIBS += ../../libbitdht/src/lib/libbitdht.a + linux-* { + # maybe it is also useful for something else than Linux? + PRE_TARGETDEPS *= ../../libbitdht/src/lib/libbitdht.a + } } win32 {