mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 21:26:36 +00:00
package/libfreefare: fix static build with latomic
Use pkg-config to retrieve openssl dependencies such as lz or latomic Fixes: - http://autobuild.buildroot.org/results/9bf69f238a63ea28690f7c0dbb8c30feb0afc5ad Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> (cherry picked from commit c49482604eb8381e7a4a316f2e1dbba178adbacb) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
9f832e5277
commit
c5814dcad4
@ -9,13 +9,9 @@ LIBFREEFARE_SOURCE = libfreefare-$(LIBFREEFARE_VERSION).tar.bz2
|
|||||||
# Do not use the github helper here, the generated tarball is *NOT*
|
# Do not use the github helper here, the generated tarball is *NOT*
|
||||||
# the same as the one uploaded by upstream for the release.
|
# the same as the one uploaded by upstream for the release.
|
||||||
LIBFREEFARE_SITE = https://github.com/nfc-tools/libfreefare/releases/download/libfreefare-$(LIBFREEFARE_VERSION)
|
LIBFREEFARE_SITE = https://github.com/nfc-tools/libfreefare/releases/download/libfreefare-$(LIBFREEFARE_VERSION)
|
||||||
LIBFREEFARE_DEPENDENCIES = libnfc openssl
|
LIBFREEFARE_DEPENDENCIES = host-pkgconf libnfc openssl
|
||||||
LIBFREEFARE_LICENSE = LGPL-3.0+ with exception
|
LIBFREEFARE_LICENSE = LGPL-3.0+ with exception
|
||||||
LIBFREEFARE_LICENSE_FILES = COPYING
|
LIBFREEFARE_LICENSE_FILES = COPYING
|
||||||
|
LIBFREEFARE_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl`
|
||||||
ifeq ($(BR2_STATIC_LIBS),y)
|
|
||||||
# openssl needs zlib even if the libfreefare example itself doesn't
|
|
||||||
LIBFREEFARE_CONF_ENV += LIBS='-lz'
|
|
||||||
endif
|
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user