![Artem Panfilov](/assets/img/avatar_default.png)
Fixes build issue with network-manager package when polkit package is enabled: CCLD clients/cli/nmcli clients/common/clients_cli_nmcli-nm-polkit-listener.o: In function `compare_users': nm-polkit-listener.c:(.text.compare_users+0x48): undefined reference to `polkit_unix_user_get_name' clients/common/clients_cli_nmcli-nm-polkit-listener.o: In function `initiate_authentication': nm-polkit-listener.c:(.text.initiate_authentication+0x1c4): undefined reference to `polkit_unix_user_get_name' Happening with the following defconfig: BR2_arm=y BR2_cortex_a8=y BR2_TOOLCHAIN_EXTERNAL=y BR2_INIT_SYSTEMD=y BR2_PACKAGE_NETWORK_MANAGER=y BR2_PACKAGE_SYSTEMD_POLKIT=y Signed-off-by: Artem Panfilov <apanfilov@spectracom.com> [Thomas: update hash file.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
24 lines
590 B
Makefile
24 lines
590 B
Makefile
################################################################################
|
|
#
|
|
# polkit
|
|
#
|
|
################################################################################
|
|
|
|
POLKIT_VERSION = 0.105
|
|
POLKIT_SITE = http://www.freedesktop.org/software/polkit/releases
|
|
POLKIT_LICENSE = GPL-2.0
|
|
POLKIT_LICENSE_FILES = COPYING
|
|
|
|
POLKIT_INSTALL_STAGING = YES
|
|
|
|
POLKIT_DEPENDENCIES = libglib2 host-intltool expat
|
|
|
|
# We could also support --with-authfw=pam
|
|
POLKIT_CONF_OPTS = \
|
|
--with-authfw=shadow \
|
|
--with-os-type=unknown \
|
|
--disable-man-pages \
|
|
--disable-examples
|
|
|
|
$(eval $(autotools-package))
|