Skip to content

Commit

Permalink
jBuild: added ForceSignTarget_$(Platform) support for macOS build
Browse files Browse the repository at this point in the history
to allow signing not only release binaries but dev too;
  • Loading branch information
NicSavichev committed Dec 9, 2024
1 parent 004e8a1 commit e4fb242
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion prog/_jBuild/macOS/bundle.jam
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ rule SignPackageRule
Depends $(SignTarget) : $(OutDir)/$(Target) ;
for t in $(CopyTo) { Depends $(t)/$(Target:G=:D=) : $(SignTarget) ; }
Depends all : $(SignTarget) ;
if $(Config) = rel && $(SignatureOpt) {
if $(ForceSignTarget_$(Platform)) = yes && ! $(SignatureOpt) { echo SignatureOpt not set when ForceSignTarget_$(Platform)=yes ; }
if ( $(Config) = rel || $(ForceSignTarget_$(Platform)) = yes ) && $(SignatureOpt) {
dir on $(SignTarget) = $(OutDir)/../.. ;
opt on $(SignTarget) = $(SignatureOpt) ;
libs on $(SignTarget) =
Expand Down

0 comments on commit e4fb242

Please sign in to comment.