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
This commit is contained in:
parent
0cb3f70926
commit
64c4bd1dc2
@ -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
|
||||
;
|
||||
|
Loading…
Reference in New Issue
Block a user