1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

For #774, build librtmp exmaples failed for -lpthread

This commit is contained in:
winlin 2017-02-25 12:13:12 +08:00
parent ac0e27b936
commit 764cf245e9

View file

@ -69,7 +69,7 @@ ifeq ($(GCC), mipsel-openwrt-linux-gcc)
endif endif
# for ssl or nossl # for ssl or nossl
ifeq ($(HANDSHAKE), SSL) ifeq ($(HANDSHAKE), SSL)
SRS_LIBSSL_L = $(SRS_OBJS)/openssl/lib/libssl.a $(SRS_OBJS)/openssl/lib/libcrypto.a -lpthread SRS_LIBSSL_L = $(SRS_OBJS)/openssl/lib/libssl.a $(SRS_OBJS)/openssl/lib/libcrypto.a
endif endif
ifneq ($(shell test -f $(SRS_OBJS)/openssl/lib/libssl.a && echo yes), yes) ifneq ($(shell test -f $(SRS_OBJS)/openssl/lib/libssl.a && echo yes), yes)
SRS_LIBSSL_L = -lssl -lcrypto SRS_LIBSSL_L = -lssl -lcrypto