freerdp: remove cups PACKAGECONFIG in sysvinit builds
Otherwise, cups pulls in procps as a dependency, causing SDK build failures. Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
parent
830c9ff629
commit
d58c6d30da
|
|
@ -0,0 +1,11 @@
|
||||||
|
# Copyright (C) 2022 Digi International.
|
||||||
|
|
||||||
|
# In sysvinit builds, cups pulls in procps as a dependency, which causes
|
||||||
|
# conflicts when building the SDK, so remove it
|
||||||
|
PACKAGECONFIG_remove = "${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'cups', '', d)}"
|
||||||
|
|
||||||
|
# cups pulls in libusb1 as a dependency, but libusb1 is also needed implicitly
|
||||||
|
# by a different freerdp component. Removing cups from PACKAGECONFIG will
|
||||||
|
# remove this dependency and cause the build to fail, so we need make the
|
||||||
|
# dependency explicit in this scenario.
|
||||||
|
DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'libusb1', '', d)}"
|
||||||
Loading…
Reference in New Issue