mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 13:16:35 +00:00
libqrencode: link with pthread to avoid build failure
Fixes: http://autobuild.buildroot.net/results/1ca0719dd1fe0bbc528ec99b5bc2b42e985bfdca/ [Peter: only if toolchain has threads, pass --disable-thread-safety otherwise] Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
e7ea169322
commit
18c7d1468b
@ -11,6 +11,12 @@ LIBQRENCODE_INSTALL_STAGING = YES
|
|||||||
LIBQRENCODE_LICENSE = LGPLv2.1+
|
LIBQRENCODE_LICENSE = LGPLv2.1+
|
||||||
LIBQRENCODE_LICENSE_FILES = COPYING
|
LIBQRENCODE_LICENSE_FILES = COPYING
|
||||||
|
|
||||||
|
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
||||||
|
LIBQRENCODE_CONF_ENV += LIBS='-pthread'
|
||||||
|
else
|
||||||
|
LIBQRENCODE_CONF_OPT += --disable-thread-safety
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBQRENCODE_TOOLS),y)
|
ifeq ($(BR2_PACKAGE_LIBQRENCODE_TOOLS),y)
|
||||||
LIBQRENCODE_CONF_OPT += --with-tools=yes
|
LIBQRENCODE_CONF_OPT += --with-tools=yes
|
||||||
LIBQRENCODE_DEPENDENCIES += libpng
|
LIBQRENCODE_DEPENDENCIES += libpng
|
||||||
|
Loading…
x
Reference in New Issue
Block a user