From 64c4bd1dc27229a307186bb2f10483b9e6c2a449 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Sun, 1 Sep 2013 14:38:17 +0200 Subject: [PATCH] 2nd attempt at fixing build of btrfs and packagefs. * adding zlib to the kernel unfortunately introduces a cyclic dependency with respect to the zlib, haiku and haiku_devel packages (AFAICS) * circumvent this by building kernel_zlib as a static library again, this time with PIC, such that it can be used by kernel add-ons --- src/system/kernel/lib/zlib/Jamfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/kernel/lib/zlib/Jamfile b/src/system/kernel/lib/zlib/Jamfile index 8017d685c0..b2780e2803 100644 --- a/src/system/kernel/lib/zlib/Jamfile +++ b/src/system/kernel/lib/zlib/Jamfile @@ -17,7 +17,7 @@ LOCATE on [ FGristFiles $(zlibSources) ] = $(zlibSourceDirectory) ; Depends [ FGristFiles $(zlibSources) ] : [ BuildFeatureAttribute zlib : sources ] ; +# Build zlib with PIC, such that it can be used by kernel add-ons (filesystems). KernelStaticLibrary kernel_libz.a : $(zlibSources) - : -fno-pic ;