diff --git a/trunk/research/librtmp/Makefile b/trunk/research/librtmp/Makefile index 9a5aefd76..15aa35f6d 100755 --- a/trunk/research/librtmp/Makefile +++ b/trunk/research/librtmp/Makefile @@ -70,6 +70,9 @@ endif ifeq ($(HANDSHAKE), SSL) SRS_LIBSSL_L = $(SRS_OBJS)/openssl/lib/libssl.a $(SRS_OBJS)/openssl/lib/libcrypto.a endif +ifneq ($(shell test -f $(SRS_OBJS)/openssl/lib/libssl.a && echo yes), yes) + SRS_LIBSSL_L = -lssl -lcrypt +endif ssl: @mkdir -p objs