Fixed issue with dependancy on librt
This commit is contained in:
parent
092c1c22d4
commit
3dba1f05fa
1 changed files with 3 additions and 2 deletions
5
Makefile
5
Makefile
|
@ -7,10 +7,11 @@ PREFIX = $(DESTDIR)/opt/CronosAgent
|
||||||
|
|
||||||
ifeq ($(OS), Linux)
|
ifeq ($(OS), Linux)
|
||||||
FLAGS += -rdynamic
|
FLAGS += -rdynamic
|
||||||
KIND := $(shell grep -E "^6.0" /etc/debian_version > /dev/null ; echo $?)
|
ifeq ($(shell lsb_release -i -s), Debian)
|
||||||
ifneq ($(KIND), 0)
|
ifeq ($(shell grep -E "^6.0" /etc/debian_version > /dev/null ; echo $?), 0)
|
||||||
LIBRARIES += rt
|
LIBRARIES += rt
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
ifeq ($(USE_OPENSSL), yes)
|
ifeq ($(USE_OPENSSL), yes)
|
||||||
FLAGS += -DUSE_OPENSSL
|
FLAGS += -DUSE_OPENSSL
|
||||||
DEPENDENCIES += openssl
|
DEPENDENCIES += openssl
|
||||||
|
|
Loading…
Add table
Reference in a new issue