4
Fork 0
This commit is contained in:
R3ABM Artem 2016-08-08 11:26:04 +03:00
parent 412c3255c2
commit 74de89d2b1
3 changed files with 8 additions and 4 deletions

View file

@ -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
View file

@ -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
View file

@ -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