aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar James Knight <james.knight@rockwellcollins.com>2017-01-09 09:08:17 -0500
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-01-24 23:34:39 +1300
commitcc89b6f39f73bd4dd937f2089cbbcff7d0d82277 (patch)
treecc0e62638499d3d162f270a00f728686dfad4130 /package
parent878dc8cc9b9d774bc7821156af3cd838c435453b (diff)
downloadbuildroot-cc89b6f39f73bd4dd937f2089cbbcff7d0d82277.tar.gz
buildroot-cc89b6f39f73bd4dd937f2089cbbcff7d0d82277.tar.bz2
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')
-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 8b7705d105..9b4c8a7e82 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()