libr: use openssl LDFLAGS at link time (#10188)

libr will have been compiled with openssl support if it was requested,
so it also needs to use the openssl LDFLAGS.

Fixes #10154.
This commit is contained in:
Misty De Meo 2018-05-26 02:49:58 -07:00 committed by radare
parent 13da7c809c
commit f7c43fcfad

View File

@ -45,6 +45,7 @@ endif
ifeq ($(OSTYPE),ios)
MLFLAGS+=-install_name @rpath/libr2.dylib
endif
LDFLAGS+=${SSL_LDFLAGS}
# XXX version-script only works with shlib as output
#ifeq ($(OSTYPE),linux)
#PLFLAGS+=--version-script ./ld.script