Fix the libpackage_build build
* The recently introduced {No,Standard}ErrorOutput.cpp were still missing. * Add hack to allow building more correctly on Haiku. We were using the installed package kit headers, not the ones from the working directory.
This commit is contained in:
parent
bcdf492404
commit
04d1edefe2
@ -1,6 +1,15 @@
|
||||
SubDir HAIKU_TOP src build libpackage ;
|
||||
|
||||
UsePrivateBuildHeaders kernel shared ;
|
||||
# TODO: Hack to make things build on Haiku. The right solution is to build
|
||||
# libbe_build and friends on Haiku as well and use the exact same build
|
||||
# environment as on other systems.
|
||||
if $(HOST_PLATFORM) = haiku_host {
|
||||
UseHeaders [ FDirName $(HAIKU_TOP) headers build ] : true ;
|
||||
UseHeaders [ FDirName $(HAIKU_TOP) headers build os ] : true ;
|
||||
UsePrivateBuildHeaders . ;
|
||||
}
|
||||
|
||||
UsePrivateBuildHeaders kernel package shared ;
|
||||
|
||||
SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits package ] ;
|
||||
SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src kits package hpkg ] ;
|
||||
@ -84,6 +93,11 @@ BuildPlatformSharedLibrary libpackage_build.so
|
||||
ValidateChecksumJob.cpp
|
||||
|
||||
$(HPKG_SOURCES)
|
||||
|
||||
# hpkg, but only libpackage
|
||||
NoErrorOutput.cpp
|
||||
StandardErrorOutput.cpp
|
||||
|
||||
:
|
||||
libshared_build.a $(HOST_LIBBE) z $(HOST_LIBSTDC++)
|
||||
;
|
||||
|
Loading…
Reference in New Issue
Block a user