diff --git a/packages/fpmkunit/src/fpmkunit.pp b/packages/fpmkunit/src/fpmkunit.pp index 86de3624b9..d9fcaa6d71 100644 --- a/packages/fpmkunit/src/fpmkunit.pp +++ b/packages/fpmkunit/src/fpmkunit.pp @@ -6389,6 +6389,7 @@ begin If (APackage.Directory<>'') then EnterDir(APackage.Directory); DoBeforeClean(Apackage); + AddPackageMacrosToDictionary(APackage, APackage.Dictionary); if AllTargets then begin // Remove the unit-and bin-directories completely. This is safer in case of files