aboutsummaryrefslogtreecommitdiff
path: root/package/omniorb
diff options
context:
space:
mode:
authorGravatar Bernd Kuhls <bernd.kuhls@t-online.de>2016-02-21 16:18:51 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-02-21 18:28:48 +0100
commit05f79602f531ea04e34359c44e7c35e5e2168bdb (patch)
tree922868f081e6610f24e71786cb957222f9bd7eb2 /package/omniorb
parent3ae2d8b0b84917df9000caeec12d648c46f7c40f (diff)
downloadbuildroot-05f79602f531ea04e34359c44e7c35e5e2168bdb.tar.gz
buildroot-05f79602f531ea04e34359c44e7c35e5e2168bdb.tar.bz2
package/omniorb: add optional support for zlib
When zlib was compiled before, omniorb will use it as optional dependency: $ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/lib/libomniZIOP4.so.2.0 | grep NEEDED 0x0000000000000001 (NEEDED) Shared library: [libomniORB4.so.2] 0x0000000000000001 (NEEDED) Shared library: [libomnithread.so.4] 0x0000000000000001 (NEEDED) Shared library: [libpthread.so.1] 0x0000000000000001 (NEEDED) Shared library: [libz.so.1] [...] The build system offers no option to en-/disable zlib support, check acinclude.m4, line 435+. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/omniorb')
-rw-r--r--package/omniorb/omniorb.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/omniorb/omniorb.mk b/package/omniorb/omniorb.mk
index aaf3bf3222..1bbde3b7dc 100644
--- a/package/omniorb/omniorb.mk
+++ b/package/omniorb/omniorb.mk
@@ -30,6 +30,10 @@ HOST_OMNIORB_CONF_OPTS = ac_cv_path_PYTHON=$(HOST_DIR)/usr/bin/python2
OMNIORB_CONF_OPTS += --disable-longdouble
HOST_OMNIORB_CONF_OPTS += --disable-longdouble
+ifeq ($(BR2_PACKAGE_ZLIB),y)
+OMNIORB_DEPENDENCIES += zlib
+endif
+
# The EmbeddedSystem define (set below in OMNIORB_ADJUST_TOOLDIR)
# enables building of just the lib and disables building of
# tools/apps/services. In some cases the apps/services are still