Commit fc882cf2 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files
parent 94856075
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -12,11 +12,15 @@ if BR2_PACKAGE_CIVETWEB
config BR2_CIVETWEB_WITH_LUA
	bool "enable Lua support"
	# required by the bundled Sqlite3 and Lua code
	depends on !BR2_STATIC_LIBS
	help
	  Enable Lua support in Civetweb. Note that this will use a
	  version of Lua and Sqlite bundled within the Civetweb
	  sources, and not the packages from Buildroot.

comment "lua support needs a toolchain w/ dynamic library"
	depends on BR2_STATIC_LIBS

endif

comment "civetweb needs a toolchain w/ threads"
+2 −1
Original line number Diff line number Diff line
@@ -11,12 +11,13 @@ CIVETWEB_LICENSE_FILES = LICENSE.md

CIVETWEB_CONF_OPTS = TARGET_OS=LINUX WITH_IPV6=1
CIVETWEB_COPT = $(TARGET_CFLAGS) -DHAVE_POSIX_FALLOCATE=0
CIVETWEB_LIBS = -lpthread -lm -ldl
CIVETWEB_LIBS = -lpthread -lm
CIVETWEB_SYSCONFDIR = /etc
CIVETWEB_HTMLDIR = /var/www

ifeq ($(BR2_CIVETWEB_WITH_LUA),y)
CIVETWEB_CONF_OPTS += WITH_LUA=1
CIVETWEB_LIBS += -ldl
endif

ifeq ($(BR2_PACKAGE_OPENSSL),y)