mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
erlang: odbc support requires thread support
Fixes: http://autobuild.buildroot.net/results/cba60679fa916128796a7b4131ed50403bc74798/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
3e123c55d6
commit
1120fdc379
6
package/erlang/erlang.mk
vendored
6
package/erlang/erlang.mk
vendored
@ -55,8 +55,12 @@ else
|
|||||||
ERLANG_CONF_OPTS += --without-ssl
|
ERLANG_CONF_OPTS += --without-ssl
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_UNIXODBC),y)
|
# ODBC support in erlang requires threads
|
||||||
|
ifeq ($(BR2_PACKAGE_UNIXODBC)$(BR2_TOOLCHAIN_HAS_THREADS),yy)
|
||||||
ERLANG_DEPENDENCIES += unixodbc
|
ERLANG_DEPENDENCIES += unixodbc
|
||||||
|
ERLANG_CONF_OPTS += --with-odbc
|
||||||
|
else
|
||||||
|
ERLANG_CONF_OPTS += --without-odbc
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user