package/syslog-ng: depend on !BR2_STATIC_LIBS
authorChris Packham <judge.packham@gmail.com>
Sun, 13 Jan 2019 08:47:22 +0000 (21:47 +1300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 13 Jan 2019 13:29:54 +0000 (14:29 +0100)
Upstream now unconditionally requires dlfcn.h:
- https://github.com/balabit/syslog-ng/commit/01258e56abc5804f8ea977ff9ab98cc8e2fd4702

Fixes:
- http://autobuild.buildroot.net/results/c0bca852e053cd0e021205b3a949e750ae602333

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/syslog-ng/Config.in

index fbc236221a901bd5c42bd8b2366763437769fb4f..6407645974f80dafc643e5291dff6b8e5e1e13d0 100644 (file)
@@ -3,6 +3,7 @@ config BR2_PACKAGE_SYSLOG_NG
        depends on BR2_USE_WCHAR # glib2
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_USE_MMU # fork()
+       depends on !BR2_STATIC_LIBS # dlfcn.h
        depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
        select BR2_PACKAGE_EVENTLOG
        select BR2_PACKAGE_LIBGLIB2
@@ -15,7 +16,8 @@ config BR2_PACKAGE_SYSLOG_NG
 
          https://syslog-ng.org/
 
-comment "syslog-ng needs a toolchain w/ wchar, threads"
+comment "syslog-ng needs a toolchain w/ dynamic library, wchar, threads"
        depends on BR2_USE_MMU
-       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
+               BR2_STATIC_LIBS
        depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS