summaryrefslogtreecommitdiff
path: root/package/rpm
diff options
context:
space:
mode:
authorJames Knight <james.knight@rockwellcollins.com>2017-01-09 09:08:17 -0500
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-01-24 23:34:39 +1300
commitcc89b6f39f73bd4dd937f2089cbbcff7d0d82277 (patch)
treecc0e62638499d3d162f270a00f728686dfad4130 /package/rpm
parent878dc8cc9b9d774bc7821156af3cd838c435453b (diff)
rpm: disable static build support
The RPM package requires dynamic linking support (dlfcn.h) for its capabilities related to plugins (and possibly more). The following commit adds a dependency to !BR2_STATIC_LIBS. Signed-off-by: James Knight <james.knight@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/rpm')
-rw-r--r--package/rpm/Config.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/rpm/Config.in b/package/rpm/Config.in
index 8b7705d10..9b4c8a7e8 100644
--- a/package/rpm/Config.in
+++ b/package/rpm/Config.in
@@ -1,10 +1,11 @@
-comment "rpm needs a toolchain w/ threads"
- depends on !BR2_TOOLCHAIN_HAS_THREADS
+comment "rpm needs a toolchain w/ dynamic library and threads"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
depends on BR2_USE_MMU
config BR2_PACKAGE_RPM
bool "rpm"
+ depends on !BR2_STATIC_LIBS # dlfcn.h
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
depends on BR2_TOOLCHAIN_HAS_THREADS # beecrypt
depends on BR2_USE_MMU # fork()