From: Bernd Kuhls Date: Mon, 10 Jul 2017 17:51:37 +0000 (+0200) Subject: package/transmission: fix gtk support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e67fbcfa94e58a4d04e081be5e318953233492c8;p=buildroot.git package/transmission: fix gtk support Gtk support is controlled by ARG_WITH since https://github.com/transmission/transmission/commit/2ccc2bbbfe2e4a26dfeaa13b56c412ea0af4ebe4 Fixes a build error if libgtk2/3 was built before transmission: http://autobuild.buildroot.net/results/6b6/6b6ce352a9edfe3aaba82be143092a878e7715ed/ Signed-off-by: Bernd Kuhls Signed-off-by: Peter Korsgaard --- diff --git a/package/transmission/transmission.mk b/package/transmission/transmission.mk index 0fce642a03..f2333cb93e 100644 --- a/package/transmission/transmission.mk +++ b/package/transmission/transmission.mk @@ -82,10 +82,10 @@ TRANSMISSION_CONF_OPTS += --disable-remote endif ifeq ($(BR2_PACKAGE_TRANSMISSION_GTK),y) -TRANSMISSION_CONF_OPTS += --enable-gtk +TRANSMISSION_CONF_OPTS += --with-gtk TRANSMISSION_DEPENDENCIES += libgtk2 else -TRANSMISSION_CONF_OPTS += --disable-gtk +TRANSMISSION_CONF_OPTS += --without-gtk endif $(eval $(autotools-package))