mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 22:25:04 -04:00
Fixed linking with enabled libretroshare_shared with msys2
This commit is contained in:
parent
5fc8689bf2
commit
e9298c16bc
2 changed files with 14 additions and 2 deletions
|
@ -10,7 +10,13 @@ INCLUDEPATH *= $$clean_path($${RS_SRC_PATH}/libretroshare/src)
|
|||
equals(TARGET, retroshare):equals(TEMPLATE, lib){
|
||||
} else {
|
||||
LIBS *= -L$$clean_path($${RS_BUILD_PATH}/libretroshare/src/lib/) -lretroshare
|
||||
PRE_TARGETDEPS *= $$clean_path($${RS_BUILD_PATH}/libretroshare/src/lib/libretroshare.a)
|
||||
win32-g++|win32-clang-g++:!isEmpty(QMAKE_SH):libretroshare_shared {
|
||||
# Windows msys2
|
||||
LIBRETROSHARE_TARGET=libretroshare.dll.a
|
||||
} else {
|
||||
LIBRETROSHARE_TARGET=libretroshare.a
|
||||
}
|
||||
PRE_TARGETDEPS *= $$clean_path($${RS_BUILD_PATH}/libretroshare/src/lib/$${LIBRETROSHARE_TARGET})
|
||||
}
|
||||
|
||||
!include("../../openpgpsdk/src/use_openpgpsdk.pri"):error("Including")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue