From c26c2ab28a71a8c23cefb4e55453a2a823dd1b79 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sun, 1 Apr 2007 13:41:19 +0000 Subject: [PATCH] Fixed TARGET_PLATFORM r5 build. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20498 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/build/libhaikucompat/Jamfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/build/libhaikucompat/Jamfile b/src/build/libhaikucompat/Jamfile index f90a091963..d22ce28467 100644 --- a/src/build/libhaikucompat/Jamfile +++ b/src/build/libhaikucompat/Jamfile @@ -4,14 +4,18 @@ SetSubDirSupportedPlatforms libbe_test r5 dano bone ; UseHeaders [ FDirName $(HAIKU_TOP) headers build private kernel ] : true ; +local libbeTestSources ; +if $(TARGET_PLATFORM) = libbe_test { + libbeTestSources = misc.cpp syscalls.cpp ; +} + StaticLibrary libhaikucompat.a : strcasestr.c strlcat.c strlcpy.c strnlen.c - misc.cpp - syscalls.cpp + $(libbeTestSources) ; SEARCH on [ FGristFiles strcasestr.c strlcat.c strlcpy.c strnlen.c ]