mirror of
https://github.com/libretro/RetroArch
synced 2025-03-16 07:21:03 +00:00
Don't bake in mbedtls when networking is not builtin
This commit is contained in:
parent
6ebf4b860b
commit
e4df100377
@ -399,6 +399,7 @@ ifneq ($(C89_BUILD), 1)
|
||||
HAVE_GTKPLUS = 0
|
||||
|
||||
ifeq ($(HAVE_SSL), 1)
|
||||
ifeq ($(HAVE_NETWORKING), 1)
|
||||
DEFINES += -DHAVE_SSL
|
||||
|
||||
ifeq ($(DEBUG), 1)
|
||||
@ -485,6 +486,7 @@ OBJS_TLS = deps/mbedtls/debug.o \
|
||||
OBJ += $(OBJS_TLS_CRYPTO) $(OBJS_TLS_X509) $(OBJS_TLS)
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
# Miscellaneous
|
||||
|
||||
|
@ -1426,6 +1426,7 @@ HTTP SERVER
|
||||
SSL
|
||||
============================================================ */
|
||||
#if defined(HAVE_SSL)
|
||||
#if defined(HAVE_NETWORKING)
|
||||
#include "../deps/mbedtls/aes.c"
|
||||
#include "../deps/mbedtls/aesni.c"
|
||||
#include "../deps/mbedtls/arc4.c"
|
||||
@ -1502,3 +1503,4 @@ SSL
|
||||
|
||||
#include "../libretro-common/net/net_socket_ssl.c"
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user