mirror of
https://github.com/oxen-io/oxen-pyoxenmq.git
synced 2023-12-13 20:50:34 +01:00
build lokimq from pkg-config
This commit is contained in:
parent
626316e49c
commit
fc1a85da79
5 changed files with 17 additions and 2 deletions
|
@ -48,6 +48,8 @@ endif()
|
|||
add_compile_options(-Wno-deprecated-declarations)
|
||||
|
||||
add_subdirectory(external/pybind11)
|
||||
add_subdirectory(external/loki-mq)
|
||||
|
||||
include(FindPkgConfig)
|
||||
pkg_check_modules(lokimq REQUIRED IMPORTED_TARGET GLOBAL liblokimq)
|
||||
|
||||
add_subdirectory(pylokimq)
|
||||
|
|
13
contrib/loki-auth-server.service
Normal file
13
contrib/loki-auth-server.service
Normal file
|
@ -0,0 +1,13 @@
|
|||
[Unit]
|
||||
Description=Lokinet Auth Server
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
|
||||
|
||||
[Service]
|
||||
User=nobody
|
||||
SyslogIdentifier=lokinet-auth
|
||||
ExecStart=/usr/bin/python3 -m lokinet.auth --bind tcp://0.0.0.0:5555/ --cmd /usr/local/exit-provider/check.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
0
lokinet/__init__.py
Normal file
0
lokinet/__init__.py
Normal file
|
@ -5,6 +5,6 @@ pybind11_add_module(pylokimq MODULE
|
|||
module.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(pylokimq PUBLIC lokimq::lokimq)
|
||||
target_link_libraries(pylokimq PUBLIC PkgConfig::lokimq)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue