Skip to content

Commit

Permalink
Makefile: enable OpenSSL for libSRTP
Browse files Browse the repository at this point in the history
  • Loading branch information
paullouisageneau committed Sep 15, 2023
1 parent e671269 commit bb77804
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ LIBS=
LOCALLIBS=libusrsctp.a
USRSCTP_DIR=deps/usrsctp
SRTP_DIR=deps/libsrtp
SRTP_CONFIGURE_FLAGS=
JUICE_DIR=deps/libjuice
PLOG_DIR=deps/plog

Expand All @@ -24,6 +25,7 @@ ifneq ($(USE_GNUTLS), 0)
else
CPPFLAGS+=-DUSE_GNUTLS=0
LIBS+=openssl
SRTP_CONFIGURE_FLAGS=--enable-openssl
endif

USE_NICE ?= 0
Expand Down Expand Up @@ -122,7 +124,7 @@ libusrsctp.a:

libsrtp2.a:
cd $(SRTP_DIR) && \
./configure && \
./configure $(SRTP_CONFIGURE_FLAGS) && \
make
cp $(SRTP_DIR)/libsrtp2.a .

Expand Down

0 comments on commit bb77804

Please sign in to comment.