For #774, build librtmp exmaples failed for -lpthread

pull/784/head
winlin 8 years ago
parent ac0e27b936
commit 764cf245e9

@ -69,7 +69,7 @@ ifeq ($(GCC), mipsel-openwrt-linux-gcc)
endif
# for ssl or nossl
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
ifneq ($(shell test -f $(SRS_OBJS)/openssl/lib/libssl.a && echo yes), yes)
SRS_LIBSSL_L = -lssl -lcrypto

Loading…
Cancel
Save