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)
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue