Build libretroshare on Windows as shared library

This commit is contained in:
thunder2 2025-07-15 00:44:23 +02:00
parent ddb4300a60
commit a8d7a8a984

View file

@ -734,7 +734,10 @@ android-* {
# To export all symbols for the plugins on Windows build we need to build # To export all symbols for the plugins on Windows build we need to build
# libretroshare as shared library. Fix linking error (ld.exe: Error: export # libretroshare as shared library. Fix linking error (ld.exe: Error: export
# ordinal too large) due to too many exported symbols. # ordinal too large) due to too many exported symbols.
retroshare_plugins:win32:CONFIG *= libretroshare_shared #retroshare_plugins:win32:CONFIG *= libretroshare_shared
# Always build libretroshare on Windows as shared library to be compatible when building with and without plugins
win32:CONFIG *= libretroshare_shared
win32-g++|win32-clang-g++ { win32-g++|win32-clang-g++ {
!isEmpty(EXTERNAL_LIB_DIR) { !isEmpty(EXTERNAL_LIB_DIR) {