3
Fork 0

Fixed issue with dependancy on librt

This commit is contained in:
Artem Prilutskiy 2016-08-09 14:20:46 +03:00
parent 092c1c22d4
commit 3dba1f05fa

View file

@ -7,10 +7,11 @@ PREFIX = $(DESTDIR)/opt/CronosAgent
ifeq ($(OS), Linux)
FLAGS += -rdynamic
KIND := $(shell grep -E "^6.0" /etc/debian_version > /dev/null ; echo $?)
ifneq ($(KIND), 0)
ifeq ($(shell lsb_release -i -s), Debian)
ifeq ($(shell grep -E "^6.0" /etc/debian_version > /dev/null ; echo $?), 0)
LIBRARIES += rt
endif
endif
ifeq ($(USE_OPENSSL), yes)
FLAGS += -DUSE_OPENSSL
DEPENDENCIES += openssl