package/netsurf: do not allow on static linking configurations
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 9 May 2019 20:28:08 +0000 (22:28 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 14 May 2019 21:13:26 +0000 (23:13 +0200)
Static linking does not work properly in netsurf, nobody fixed it, and
the netsurf build system is completely broken. Let's disable the
package for static linking configurations.

Fixes:

  http://autobuild.buildroot.net/results/28b43c29e241080e23c87145797ea00dc4b3970d/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/netsurf/Config.in

index 8a301e6218f30263a21f38ba9a29390d457c4e5f..30b26953090a0aa1ae59274861c6202db4160500 100644 (file)
@@ -1,5 +1,10 @@
+comment "netsurf needs a toolchain w/ dynamic library"
+       depends on BR2_STATIC_LIBS
+
 config BR2_PACKAGE_NETSURF
        bool "netsurf"
+       # static linking support is broken beyond repair
+       depends on !BR2_STATIC_LIBS
        select BR2_PACKAGE_EXPAT
        select BR2_PACKAGE_JPEG
        select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE