]> Some of my projects - anidbudpclient.git/commitdiff
More gcc fixes, projects linking to this library on linux, should be able to do it...
authorAPTX <marek321@gmail.com>
Fri, 21 Jan 2011 23:25:17 +0000 (00:25 +0100)
committerAPTX <marek321@gmail.com>
Fri, 21 Jan 2011 23:25:17 +0000 (00:25 +0100)
anidbudpclient.pri
client.cpp

index a7209dd479ee051cfdffb2d8b8721d3b35f5f21c..9b0152ea7c58bad6efe12938bd711b4da6836771 100644 (file)
@@ -26,3 +26,7 @@ INCLUDEPATH += $$PWD/include
 DEPENDPATH += $$PWD
 LIBS += -lanidbudpclient
 LIBS += -L$$PWD/build
+
+unix {
+       QMAKE_LFLAGS += -Wl,-rpath,$$LD_LIBRARY_PATH:.:../anidbudpclient/build
+}
index 60d56fa17eccd61ac950f024ee3b0ce5e11ab267..81892eaffbf6e7c3fb63ae444f827ac746ac32ec 100644 (file)
@@ -931,4 +931,7 @@ qDebug() << QString("Generated id %1").arg(result.constData());
 
 Client *Client::m_instance = 0;
 
+// TODO, figure out why GCC can't export it like it could before, and if this works in other compilers.
+const int Client::UDP_API_COMMAND_TIMEOUT;
+
 } // namespace AniDBUdpClient