--process-name-prefix

This commit is contained in:
Devaev Maxim
2019-10-11 06:23:32 +03:00
parent 890b248563
commit 70c7bcc209
8 changed files with 113 additions and 9 deletions

View File

@@ -44,6 +44,15 @@ override CFLAGS += -DWITH_PTHREAD_NP
endif
WITH_SETPROCTITLE ?= 1
ifneq ($(call optbool,$(WITH_SETPROCTITLE)),)
ifeq ($(shell uname -s | tr A-Z a-z),linux)
_LIBS += -lbsd
endif
override CFLAGS += -DWITH_SETPROCTITLE
endif
# =====
all: $(PROG)