Skip to content

Commit

Permalink
Add compile linux websockets macro (#2703)
Browse files Browse the repository at this point in the history
Co-authored-by: 杨赫然 <heran.yang@seafile.com>
  • Loading branch information
feiniks and 杨赫然 authored Sep 8, 2023
1 parent beda543 commit 42e382d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ AC_ARG_ENABLE(ws, AC_HELP_STRING([--enable-ws], [enable build websockets]),
AM_CONDITIONAL([COMPILE_LINUX_WS], [test "${compile_linux_ws}" = "yes"])
if test "${compile_linux_ws}" = "yes"; then
PKG_CHECK_MODULES(WS, [libwebsockets >= $WS_REQUIRED])
AC_DEFINE(COMPILE_LINUX_WS, 1, [compile linux websockets])
AC_SUBST(WS_CFLAGS)
AC_SUBST(WS_LIBS)
fi
Expand Down

0 comments on commit 42e382d

Please sign in to comment.