File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -964,6 +964,10 @@ rs_jsonapi {
964964 }
965965 }
966966
967+ linux-* {
968+ RESTBED_CMAKE_PARAMS += -DCMAKE_INCLUDE_PATH =$$escape_expand ($$shell_path ($$PWD /../../../lib/libs/include ))
969+ }
970+
967971 genrestbedlib.name = Generating librestbed.
968972 genrestbedlib.input = DUMMYRESTBEDINPUT
969973 genrestbedlib.output = $$clean_path ($${RESTBED_BUILD_PATH }/librestbed.a )
@@ -1222,6 +1226,17 @@ message("In rnp_rnplib precompilation code")
12221226 cd /D $$shell_path ($${LIBRNP_SRC_PATH }) && git submodule update --init src/libsexpp || cd . $$escape_expand (\ \n\\t) \
12231227 $(CHK_DIR_EXISTS) $$shell_path ($$LIBRNP_BUILD_PATH ) $(MKDIR) $$shell_path ($${LIBRNP_BUILD_PATH }) $$escape_expand (\ \n\\t)
12241228 } else {
1229+ linux-* {
1230+ # json-c
1231+ LIBRNP_CMAKE_PARAMS *= " -DJSON-C_INCLUDE_DIR=$$escape_expand($$clean_path($$PWD/../../../lib/libs/include/json-c))"
1232+ LIBRNP_CMAKE_PARAMS *= " -DJSON-C_LIBRARY=$$escape_expand($$clean_path($$PWD/../../../lib/libs/lib/libjson-c.a))"
1233+ # botan
1234+ LIBRNP_CMAKE_PARAMS *= " -DBOTAN_INCLUDE_DIR=$$escape_expand($$clean_path($$PWD/../../../lib/libs/include/botan-2))"
1235+ LIBRNP_CMAKE_PARAMS *= " -DBOTAN_LIBRARY=$$escape_expand($$clean_path($$PWD/../../../lib/libs/lib/libbotan-2.a))"
1236+ # link pthread
1237+ LIBRNP_CMAKE_PARAMS *= " -DCMAKE_CXX_STANDARD_LIBRARIES=-lpthread"
1238+ }
1239+
12251240 librnp_header.commands = \
12261241 cd $${RS_SRC_PATH } && \
12271242 (git submodule update --init supportlibs/librnp || true ) && \
You can’t perform that action at this time.
0 commit comments