From 5c27334b39f1f5f280db007de451483bbb71677a Mon Sep 17 00:00:00 2001 From: Andy Green Date: Wed, 25 May 2016 19:42:35 +0800 Subject: [PATCH] windows call plugins init on win32 plat Signed-off-by: Andy Green --- lib/lws-plat-win.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/lws-plat-win.c b/lib/lws-plat-win.c index 842423bf..be07ac63 100644 --- a/lib/lws-plat-win.c +++ b/lib/lws-plat-win.c @@ -608,5 +608,10 @@ lws_plat_init(struct lws_context *context, context->fops.read = _lws_plat_file_read; context->fops.write = _lws_plat_file_write; +#ifdef LWS_WITH_PLUGINS + if (info->plugin_dirs) + lws_plat_plugins_init(context, info->plugin_dirs); +#endif + return 0; }