..
This commit is contained in:
parent
412c3255c2
commit
74de89d2b1
3 changed files with 8 additions and 4 deletions
6
Makefile
6
Makefile
|
@ -7,6 +7,10 @@ PREFIX = $(DESTDIR)/opt/CronosAgent
|
|||
|
||||
ifeq ($(OS), Linux)
|
||||
FLAGS += -rdynamic
|
||||
KIND := $(shell grep -E "^6.0" /etc/debian_version > /dev/null ; echo $?)
|
||||
ifneq ($(KIND), 0)
|
||||
LIBRARIES += rt
|
||||
endif
|
||||
ifeq ($(USE_OPENSSL), yes)
|
||||
FLAGS += -DUSE_OPENSSL
|
||||
DEPENDENCIES += openssl
|
||||
|
@ -35,7 +39,7 @@ LIBS += $(foreach library, $(LIBRARIES), -l$(library))
|
|||
CC = gcc
|
||||
CFLAGS += $(FLAGS) -std=gnu99
|
||||
|
||||
ifneq ($(strip $(DEPENDENCIES)),)
|
||||
ifneq ($(strip $(DEPENDENCIES)), )
|
||||
FLAGS += $(shell pkg-config --cflags $(DEPENDENCIES))
|
||||
LIBS += $(shell pkg-config --libs $(DEPENDENCIES))
|
||||
endif
|
||||
|
|
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -1,6 +1,6 @@
|
|||
cronosagent (20160804) none; urgency=low
|
||||
cronosagent (20160806) none; urgency=low
|
||||
|
||||
* Daily build
|
||||
|
||||
-- Artem Prilutskiy <cyanide.burnout@gmail.com> Thu, 04 Aug 2016 11:53:09 +0400
|
||||
-- Artem Prilutskiy <cyanide.burnout@gmail.com> Mon, 08 Aug 2016 12:24:44 +0400
|
||||
|
||||
|
|
2
debian/control
vendored
2
debian/control
vendored
|
@ -3,7 +3,7 @@ Section: unknown
|
|||
Priority: extra
|
||||
Maintainer: Artem Prilutskiy <cyanide.burnout@gmail.com>
|
||||
Build-Depends:
|
||||
debhelper (>= 5), libssl-dev
|
||||
debhelper (>= 5)
|
||||
Standards-Version: 3.8.4
|
||||
|
||||
Package: cronosagent
|
||||
|
|
Loading…
Add table
Reference in a new issue