forked from mirrors/kore
Always add -rdynamic to LDFLAGS.
This commit is contained in:
parent
99a1581e19
commit
d8505bab0d
6
Makefile
6
Makefile
@ -36,14 +36,16 @@ CFLAGS+=-Wsign-compare -Iinclude/kore -I$(OBJDIR) -std=c99 -pedantic
|
||||
CFLAGS+=-Wtype-limits -fno-common
|
||||
CFLAGS+=-DPREFIX='"$(PREFIX)"' -fstack-protector-all
|
||||
|
||||
LDFLAGS+=-rdynamic
|
||||
|
||||
ifeq ("$(TLS_BACKEND)", "openssl")
|
||||
S_SRC+=src/keymgr_openssl.c
|
||||
|
||||
ifneq ("$(OPENSSL_PATH)", "")
|
||||
CFLAGS+=-I$(OPENSSL_PATH)/include
|
||||
LDFLAGS+=-rdynamic -L$(OPENSSL_PATH)/lib -lssl -l$(KORE_CRYPTO)
|
||||
LDFLAGS+=-L$(OPENSSL_PATH)/lib -lssl -l$(KORE_CRYPTO)
|
||||
else
|
||||
LDFLAGS+=-rdynamic -lssl -l$(KORE_CRYPTO)
|
||||
LDFLAGS+=-lssl -l$(KORE_CRYPTO)
|
||||
endif
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user