build: fix jam clean when using emulated attributes
should help #10065 Change-Id: I4ebe28834201076c6710be52fc2ace580099dd6c Reviewed-on: https://review.haiku-os.org/c/haiku/+/5313 Reviewed-by: Jérôme Duval <jerome.duval@gmail.com> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
This commit is contained in:
parent
5897f7b623
commit
388d91a7b8
@ -79,11 +79,19 @@ local librootSources =
|
||||
|
||||
USES_BE_API on [ FGristFiles $(librootSources:S=$(SUFOBJ)) ] = true ;
|
||||
|
||||
BuildPlatformSharedLibrary libroot_build.so :
|
||||
local librootTarget = libroot_build.so ;
|
||||
if $(HAIKU_HOST_USE_XATTR) = 0 {
|
||||
# prevent library from being cleaned when emulated attributes are used
|
||||
librootTarget = <temp>libroot_build.so ;
|
||||
File libroot_build.so : <temp>libroot_build.so ;
|
||||
MODE on libroot_build.so = $(EXEMODE) ;
|
||||
Chmod libroot_build.so ;
|
||||
RmTemps libroot_build.so : <temp>libroot_build.so ;
|
||||
}
|
||||
BuildPlatformSharedLibrary $(librootTarget) :
|
||||
$(librootSources)
|
||||
:
|
||||
$(HOST_LIBSUPC++) $(HOST_LIBSTDC++)
|
||||
;
|
||||
$(HOST_LIBSUPC++) $(HOST_LIBSTDC++) ;
|
||||
|
||||
# TODO: This doesn't work with the function remapping.
|
||||
BuildPlatformStaticLibrary libroot_build.a :
|
||||
|
Loading…
x
Reference in New Issue
Block a user