mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-07-10 01:34:58 +03:00
Use FHS installation directories.
Install to `/usr/sbin`, `/usr/lib`, and `/var/lib` according to the Linux filesystem hierarchy standard if SoftEther is built through autotools. In a managed installation, the FHS stipulates that the application must accomodate a read-only installation path. This requires a new `GetStateDir` function that substitues `GetExeDir` in some parts of the code.
This commit is contained in:
@ -27,6 +27,7 @@ AM_CFLAGS = \
|
||||
-I$(top_srcdir)/src \
|
||||
-I$(top_srcdir)/src/Mayaqua \
|
||||
-I$(top_srcdir)/src/Cedar \
|
||||
-DSTATE_DIR='"@localstatedir@/lib/softether"' \
|
||||
-DUNIX \
|
||||
-DUNIX_LINUX \
|
||||
-D_REENTRANT \
|
||||
|
Reference in New Issue
Block a user