mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-15 08:39:08 -05: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
|
|
@ -43,7 +43,13 @@ win32 {
|
|||
}
|
||||
|
||||
libretroshare_shared {
|
||||
PRE_TARGETDEPS += $$OUT_PWD/../../libretroshare/src/lib/libretroshare.a
|
||||
win32-g++|win32-clang-g++:!isEmpty(QMAKE_SH) {
|
||||
# Windows msys2
|
||||
LIBRETROSHARE_TARGET=libretroshare.dll.a
|
||||
} else {
|
||||
LIBRETROSHARE_TARGET=libretroshare.a
|
||||
}
|
||||
PRE_TARGETDEPS += $$OUT_PWD/../../libretroshare/src/lib/$${LIBRETROSHARE_TARGET}
|
||||
LIBS += -L"$$OUT_PWD/../../libretroshare/src/lib" -lretroshare
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue