mirror of
https://github.com/troglobit/finit.git
synced 2026-10-13 10:14:47 +00:00
Eliminate name clash with system signal.h header file.
Tried to solve the signal.h name clash by using #include_next, but seeing as this is not recommended[1] and breaks builds on some cross compilers, the files were simply renamed: signal.[ch] --> sig.[ch] [1] - http://gcc.gnu.org/onlinedocs/cpp/Wrapper-Headers.html Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
@@ -29,11 +29,11 @@ ROOTDIR ?= $(shell pwd)
|
||||
PLUGIN_DIR ?= /lib/finit/plugins
|
||||
|
||||
#VERSION ?= $(shell git tag -l | tail -1)
|
||||
VERSION ?= 1.0
|
||||
VERSION ?= 1.1-pre
|
||||
EXEC = finit
|
||||
PKG = $(EXEC)-$(VERSION)
|
||||
ARCHIVE = $(PKG).tar.xz
|
||||
OBJS = finit.o conf.o helpers.o signal.o svc.o plugin.o
|
||||
OBJS = finit.o conf.o helpers.o sig.o svc.o plugin.o
|
||||
OBJS += strlcpy.o
|
||||
SRCS = $(OBJS:.o=.c)
|
||||
DEPS = $(addprefix .,$(SRCS:.c=.d))
|
||||
|
||||
Reference in New Issue
Block a user