mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
34 lines
855 B
Plaintext
34 lines
855 B
Plaintext
|
DEPENDPATH *= $$system_path($$clean_path($${PWD}/../../libretroshare/src/))
|
||
|
INCLUDEPATH *= $$system_path($$clean_path($${PWD}/../../libretroshare/src))
|
||
|
LIBS *= -L$$system_path($$clean_path($${OUT_PWD}/../../libretroshare/src/lib/)) -lretroshare
|
||
|
|
||
|
equals(TARGET, retroshare):equals(TEMPLATE, lib){
|
||
|
} else {
|
||
|
PRE_TARGETDEPS *= $$system_path($$clean_path($$OUT_PWD/../../libretroshare/src/lib/libretroshare.a))
|
||
|
}
|
||
|
|
||
|
!include("../../openpgpsdk/src/use_openpgpsdk.pri"):error("Including")
|
||
|
|
||
|
bitdht {
|
||
|
!include("../../libbitdht/src/use_libbitdht.pri"):error("Including")
|
||
|
}
|
||
|
|
||
|
sLibs =
|
||
|
mLibs = $$RS_SQL_LIB ssl crypto $$RS_THREAD_LIB $$RS_UPNP_LIB
|
||
|
dLibs =
|
||
|
|
||
|
linux-* {
|
||
|
mLibs += dl
|
||
|
}
|
||
|
|
||
|
static {
|
||
|
sLibs *= $$mLibs
|
||
|
} else {
|
||
|
dLibs *= $$mLibs
|
||
|
}
|
||
|
|
||
|
LIBS += $$linkStaticLibs(sLibs)
|
||
|
PRE_TARGETDEPS += $$pretargetStaticLibs(sLibs)
|
||
|
|
||
|
LIBS += $$linkDynamicLibs(dLibs)
|