diff --git a/src/apps/diskprobe/Jamfile b/src/apps/diskprobe/Jamfile index 3ed7b64501..ec3eff443f 100644 --- a/src/apps/diskprobe/Jamfile +++ b/src/apps/diskprobe/Jamfile @@ -2,8 +2,6 @@ SubDir OBOS_TOP src apps diskprobe ; UsePrivateHeaders shared ; -AddResources DiskProbe : DiskProbe.rdef ; - if ! $(DANO_COMPATIBLE) { local defines = COMPILE_FOR_R5 ; defines = [ FDefines $(defines) ] ; @@ -11,6 +9,12 @@ if ! $(DANO_COMPATIBLE) { SubDirC++Flags $(defines) ; } +local r5_src = strlcpy.c ; + +if $(HAIKU_COMPATIBLE) { + r5_src = ; +} + App DiskProbe : DiskProbe.cpp DataEditor.cpp @@ -22,6 +26,15 @@ App DiskProbe : ProbeView.cpp OpenWindow.cpp FindWindow.cpp + $(r5_src) + : libbe.so libtracker.so libtranslation.so + : DiskProbe.rdef ; -LinkSharedOSLibs DiskProbe : be tracker translation ; +if $(HAIKU_COMPATIBLE) { + LinkSharedOSLibs DiskProbe : libroot.so ; +} + +SEARCH on [ FGristFiles + strlcpy.c + ] = [ FDirName $(OBOS_TOP) src system libroot posix string ] ;