Webui for linux
This commit is contained in:
parent
5fee692c31
commit
8081a3d06a
|
@ -15,7 +15,10 @@ RZDCY_MODULES := cfg/ hw/arm7/ hw/aica/ hw/holly/ hw/ hw/gdrom/ hw/maple/ \
|
|||
ifdef WEBUI
|
||||
RZDCY_MODULES += webui/
|
||||
RZDCY_MODULES += deps/libwebsocket/
|
||||
RZDCY_MODULES += deps/ifaddrs/
|
||||
|
||||
ifdef FOR_ANDROID
|
||||
RZDCY_MODULES += deps/ifaddrs/
|
||||
endif
|
||||
endif
|
||||
|
||||
ifndef NO_REC
|
||||
|
@ -76,4 +79,4 @@ endif
|
|||
|
||||
ifdef NO_REC
|
||||
RZDCY_CXXFLAGS += -DHOST_NO_REC
|
||||
endif
|
||||
endif
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
#include "build.h"
|
||||
|
||||
#define LWS_BUILTIN_GETIFADDRS
|
||||
#define LWS_NO_DAEMONIZE
|
|
@ -131,7 +131,7 @@ void plugins_Reset(bool Manual)
|
|||
|
||||
void* webui_th(void* p)
|
||||
{
|
||||
#if HOST_OS == OS_WINDOWS || defined(_ANDROID)
|
||||
#if HOST_OS == OS_WINDOWS || HOST_OS == OS_LINUX
|
||||
webui_start();
|
||||
#endif
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@ FOR_LINUX :=1
|
|||
NOT_ARM := 1
|
||||
NO_REC := 1
|
||||
#NO_REND := 1
|
||||
WEBUI :=1
|
||||
|
||||
RZDCY_SRC_DIR = ../../core
|
||||
|
||||
|
|
Loading…
Reference in New Issue