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:
Oliver Tappe 2013-05-06 20:01:40 +02:00
parent 7c6bff1734
commit 9abd3e6f53
4 changed files with 15 additions and 0 deletions

View File

@ -5,6 +5,9 @@ UsePrivateHeaders shared storage ;
UsePrivateKernelHeaders ;
UseBuildFeatureHeaders zlib ;
Includes [ FGristFiles Inode.cpp ]
: [ BuildFeatureAttribute zlib : headers ] ;
KernelAddon btrfs :
kernel_interface.cpp
Attribute.cpp

View File

@ -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

View File

@ -44,3 +44,10 @@ BootStaticLibrary boot_packagefs :
: -fno-pic
;
Includes [
FGristFiles PackageDataReader.cpp PackageDataReaderImpl.cpp
ReaderImplBase.cpp ZlibCompressionBase.cpp ZlibDecompressor.cpp
]
: [ BuildFeatureAttribute zlib : headers ] ;

View File

@ -11,3 +11,6 @@ BootStaticLibrary boot_platform_generic :
video_splash.cpp
: -fno-pic
;
Includes [ FGristFiles video_splash.cpp ]
: [ BuildFeatureAttribute zlib : headers ] ;