mirror of
https://git.yoctoproject.org/poky
synced 2026-04-02 17:02:21 +02:00
libproxy: Allow to build in non-gplv3 configuration
(From OE-Core rev: 89788fbd10fdfbbe54927339d7ec516d0e4d7ef5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -29,3 +29,9 @@ do_configure_prepend() {
|
||||
export HOST_SYS=${HOST_SYS}
|
||||
export BUILD_SYS=${BUILD_SYS}
|
||||
}
|
||||
|
||||
python() {
|
||||
if (d.getVar("INCOMPATIBLE_LICENSE", True) or "").find("GPLv3") != -1:
|
||||
d.setVar("EXTRA_OECMAKE", d.getVar("EXTRA_OECMAKE").replace("-DWITH_GNOME=yes", "-DWITH_GNOME=no"))
|
||||
d.setVar("DEPENDS", " ".join(i for i in d.getVar("DEPENDS").split() if i != "gconf"))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user