Fix race condition during build of some file systems.
* make sure the zlib package is available before trying to use zlib.h
This commit is contained in:
parent
7c6bff1734
commit
9abd3e6f53
|
@ -5,6 +5,9 @@ UsePrivateHeaders shared storage ;
|
|||
UsePrivateKernelHeaders ;
|
||||
UseBuildFeatureHeaders zlib ;
|
||||
|
||||
Includes [ FGristFiles Inode.cpp ]
|
||||
: [ BuildFeatureAttribute zlib : headers ] ;
|
||||
|
||||
KernelAddon btrfs :
|
||||
kernel_interface.cpp
|
||||
Attribute.cpp
|
||||
|
|
|
@ -75,6 +75,8 @@ HAIKU_PACKAGE_FS_PACKAGE_READER_SOURCES =
|
|||
ZlibDecompressor.cpp
|
||||
;
|
||||
|
||||
Includes [ FGristFiles $(HAIKU_PACKAGE_FS_PACKAGE_READER_SOURCES) ]
|
||||
: [ BuildFeatureAttribute zlib : headers ] ;
|
||||
|
||||
local libSharedSources =
|
||||
NaturalCompare.cpp
|
||||
|
|
|
@ -44,3 +44,10 @@ BootStaticLibrary boot_packagefs :
|
|||
|
||||
: -fno-pic
|
||||
;
|
||||
|
||||
Includes [
|
||||
FGristFiles PackageDataReader.cpp PackageDataReaderImpl.cpp
|
||||
ReaderImplBase.cpp ZlibCompressionBase.cpp ZlibDecompressor.cpp
|
||||
]
|
||||
: [ BuildFeatureAttribute zlib : headers ] ;
|
||||
|
||||
|
|
|
@ -11,3 +11,6 @@ BootStaticLibrary boot_platform_generic :
|
|||
video_splash.cpp
|
||||
: -fno-pic
|
||||
;
|
||||
|
||||
Includes [ FGristFiles video_splash.cpp ]
|
||||
: [ BuildFeatureAttribute zlib : headers ] ;
|
||||
|
|
Loading…
Reference in New Issue