mirror of
https://github.com/proxytunnel/proxytunnel.git
synced 2026-01-23 02:34:59 +00:00
Added options for gnu-systems & setproctitle to flake
This commit is contained in:
parent
5e9a22d035
commit
ad8a6a1c7e
1 changed files with 5 additions and 4 deletions
|
|
@ -1,11 +1,12 @@
|
|||
{
|
||||
enableSSL ? true,
|
||||
gnu-system ? true,
|
||||
set-proc-title ? true,
|
||||
pkgs,
|
||||
}: let
|
||||
optflags = "${
|
||||
if enableSSL
|
||||
then "-DUSE_SSL"
|
||||
# TODO: Due to the way the OPENSSL_VERSION_NUMBER macro is checked, the -DUSE_SSL flag is NECESSARY
|
||||
optflags = "-DUSE_SSL ${
|
||||
if gnu-system
|
||||
then "-DHAVE_GETOPT_LONG"
|
||||
else ""
|
||||
} ${
|
||||
if set-proc-title
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue