Skip to content

Commit ea2bfdb

Browse files
committed
Build: Propagate OpenMP linker flag to libretroshare consumers via use_libretroshare.pri
1 parent 3a4099e commit ea2bfdb

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/use_libretroshare.pri

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,11 @@ rs_jsonapi {
106106

107107
linux-* {
108108
mLibs += dl
109+
# OpenMP runtime needed for parallel deserialization in rsgenexchange.cc
110+
LIBS += -fopenmp
109111
}
110112

111-
rs_deep_channels_index | rs_deep_files_index | rs_deep_forums_index {
113+
rs_deep_channels_index | rs_deep_files_index {
112114
mLibs += xapian
113115
win32-g++|win32-clang-g++:mLibs += rpcrt4
114116
}

0 commit comments

Comments
 (0)