haiku-x86_64: make some dependencies feature dependent.
This commit is contained in:
@@ -107,6 +107,9 @@ rule PreprocessPackageOrRepositoryInfo target : source : architecture
|
|||||||
sedReplacements
|
sedReplacements
|
||||||
+= %HAIKU_SECONDARY_PACKAGING_ARCH_SUFFIX%, ;
|
+= %HAIKU_SECONDARY_PACKAGING_ARCH_SUFFIX%, ;
|
||||||
}
|
}
|
||||||
|
for feature in $(HAIKU_BUILD_FEATURES) {
|
||||||
|
defines += HAIKU_BUILD_FEATURE_$(feature:U)_ENABLED ;
|
||||||
|
}
|
||||||
|
|
||||||
local revisionFile = [ DetermineEffectiveHaikuRevision ] ;
|
local revisionFile = [ DetermineEffectiveHaikuRevision ] ;
|
||||||
Depends $(target) : $(source) $(revisionFile) ;
|
Depends $(target) : $(source) $(revisionFile) ;
|
||||||
|
|||||||
@@ -73,17 +73,35 @@ requires {
|
|||||||
lib:libicuuc
|
lib:libicuuc
|
||||||
lib:libncurses >= 6.0
|
lib:libncurses >= 6.0
|
||||||
#ifdef HAIKU_REGULAR_BUILD
|
#ifdef HAIKU_REGULAR_BUILD
|
||||||
|
#ifdef HAIKU_BUILD_FEATURE_X86_64:EXPAT_ENABLED
|
||||||
lib:libexpat
|
lib:libexpat
|
||||||
|
#endif
|
||||||
|
#ifdef HAIKU_BUILD_FEATURE_X86_64:GUTENPRINT_ENABLED
|
||||||
lib:libgutenprint
|
lib:libgutenprint
|
||||||
|
#endif
|
||||||
|
#ifdef HAIKU_BUILD_FEATURE_X86_64:LIBICNS_ENABLED
|
||||||
lib:libicns
|
lib:libicns
|
||||||
|
#endif
|
||||||
|
#ifdef HAIKU_BUILD_FEATURE_X86_64:JASPER_ENABLED
|
||||||
lib:libjasper
|
lib:libjasper
|
||||||
|
#endif
|
||||||
|
#ifdef HAIKU_BUILD_FEATURE_X86_64:JPEG_ENABLED
|
||||||
lib:libjpeg
|
lib:libjpeg
|
||||||
|
#endif
|
||||||
|
#ifdef HAIKU_BUILD_FEATURE_X86_64:LIBPNG_ENABLED
|
||||||
lib:libpng >= 16.0
|
lib:libpng >= 16.0
|
||||||
|
#endif
|
||||||
lib:libqrencode
|
lib:libqrencode
|
||||||
|
#ifdef HAIKU_BUILD_FEATURE_X86_64:TIFF_ENABLED
|
||||||
lib:libtiff >= 5.2
|
lib:libtiff >= 5.2
|
||||||
|
#endif
|
||||||
|
#ifdef HAIKU_BUILD_FEATURE_X86_64:LIBWEBP_ENABLED
|
||||||
lib:libwebp
|
lib:libwebp
|
||||||
|
#endif
|
||||||
|
#ifdef HAIKU_BUILD_FEATURE_X86_64:OPENSSL_ENABLED
|
||||||
lib:libssl >= 1.0.0
|
lib:libssl >= 1.0.0
|
||||||
lib:libcrypto >= 1.0.0
|
lib:libcrypto >= 1.0.0
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
lib:libsolv
|
lib:libsolv
|
||||||
lib:libsolvext
|
lib:libsolvext
|
||||||
|
|||||||
Reference in New Issue
Block a user