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 ;