mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
libpthsem: add libpth compatibility option
This commit adds the BR2_PACKAGE_LIBPTHSEM_COMPAT option to the libpthsem package, in order to enable the compatibility with the pth library, which is useful to support gnupg2. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
8a9382d716
commit
f0592c9f65
@ -7,3 +7,13 @@ config BR2_PACKAGE_LIBPTHSEM
|
|||||||
version, with support for semaphores added.
|
version, with support for semaphores added.
|
||||||
|
|
||||||
http://www.auto.tuwien.ac.at/~mkoegler/pth/
|
http://www.auto.tuwien.ac.at/~mkoegler/pth/
|
||||||
|
|
||||||
|
if BR2_PACKAGE_LIBPTHSEM
|
||||||
|
|
||||||
|
config BR2_PACKAGE_LIBPTHSEM_COMPAT
|
||||||
|
bool "libpth compatibility"
|
||||||
|
help
|
||||||
|
This option enables the compatibility with the original
|
||||||
|
libpth library.
|
||||||
|
|
||||||
|
endif
|
||||||
|
@ -14,4 +14,11 @@ LIBPTHSEM_INSTALL_STAGING = YES
|
|||||||
LIBPTHSEM_DEPENDENCIES = argp-standalone
|
LIBPTHSEM_DEPENDENCIES = argp-standalone
|
||||||
LIBPTHSEM_CONFIG_SCRIPTS = pthsem-config
|
LIBPTHSEM_CONFIG_SCRIPTS = pthsem-config
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBPTHSEM_COMPAT),y)
|
||||||
|
LIBPTHSEM_CONF_OPT += --enable-compat
|
||||||
|
LIBPTHSEM_CONFIG_SCRIPTS += pth-config
|
||||||
|
else
|
||||||
|
LIBPTHSEM_CONF_OPT += --disable-compat
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user