Skip to content

Commit

Permalink
[GOIL] fix a bug in build.py generation for libraries in target hiera…
Browse files Browse the repository at this point in the history
…rchy
  • Loading branch information
jlbirccyn committed Oct 24, 2023
1 parent c852554 commit 6be7d5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions goil/templates/build/build_py.goilTemplate
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ sSourceList.append(projfile.ProjectFile("% !"machines/"+platform::PATH+"/"+file:
end if
end foreach

# add the libraries
#--- add the libraries
foreach library in exists USEDLIB default ( @() ) do
if not exists library::CFILE then let library::CFILE := @() end if
if not exists library::CPPFILE then let library::CPPFILE := @() end if
Expand All @@ -488,7 +488,7 @@ foreach library in exists USEDLIB default ( @() ) do
if library::GLOBAL then
let libpath := "libraries/" + library::PATH + "/"
else
let libpath := "libraries/" + library::PATH + "/"
let libpath := "machines/" + library::PATH + "/"
end if
foreach file in library::CFILE do
%
Expand Down

0 comments on commit 6be7d5e

Please sign in to comment.