mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
Compare commits
3 Commits
71334e487b
...
f10a7c112c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f10a7c112c | ||
|
|
a1794ccd22 | ||
|
|
6e639f0e6a |
3
Makefile
3
Makefile
@@ -69,6 +69,9 @@ else ifneq (, $(findstring freebsd, $(SYS))$(findstring openbsd, $(SYS)))
|
|||||||
else ifneq (, $(findstring haiku, $(SYS)))
|
else ifneq (, $(findstring haiku, $(SYS)))
|
||||||
DAEMON_SRC += $(DAEMON_SRC_DIR)/UnixDaemon.cpp
|
DAEMON_SRC += $(DAEMON_SRC_DIR)/UnixDaemon.cpp
|
||||||
include Makefile.haiku
|
include Makefile.haiku
|
||||||
|
else ifneq (, $(findstring solaris, $(SYS)))
|
||||||
|
DAEMON_SRC += $(DAEMON_SRC_DIR)/UnixDaemon.cpp
|
||||||
|
include Makefile.solaris
|
||||||
else # not supported
|
else # not supported
|
||||||
$(error Not supported platform)
|
$(error Not supported platform)
|
||||||
endif
|
endif
|
||||||
|
|||||||
9
Makefile.solaris
Normal file
9
Makefile.solaris
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
CXX = g++
|
||||||
|
INCFLAGS = -I/usr/openssl/3/include
|
||||||
|
CXXFLAGS := -Wall -std=c++20
|
||||||
|
LDLIBS = -L/usr/openssl/3/lib/64 -lssl -lcrypto -lboost_program_options -lz -lpthread -lsocket
|
||||||
|
|
||||||
|
ifeq ($(USE_UPNP),yes)
|
||||||
|
DEFINES += -DUSE_UPNP
|
||||||
|
LDLIBS += -lminiupnpc
|
||||||
|
endif
|
||||||
@@ -2,6 +2,7 @@
|
|||||||
Description=I2P Router written in C++
|
Description=I2P Router written in C++
|
||||||
Documentation=man:i2pd(1) https://i2pd.readthedocs.io/en/latest/
|
Documentation=man:i2pd(1) https://i2pd.readthedocs.io/en/latest/
|
||||||
After=network.target
|
After=network.target
|
||||||
|
Wants=yggdrasil.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=i2pd
|
User=i2pd
|
||||||
|
|||||||
Reference in New Issue
Block a user