Skip to content

Commit

Permalink
Merge pull request #618 from evo-lua/objc-deprecation-warnings
Browse files Browse the repository at this point in the history
Fix bcsave-related deprecation warnings on macOS
  • Loading branch information
rdw-software authored Jan 7, 2025
2 parents 4d6ff59 + d743805 commit 69ca177
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion BuildTools/BuildTarget.lua
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ function BuildTarget:ProcessLuaSources()
local objectFiles = self.objectFiles

for index, luaSourceFilePath in ipairs(self.luaSources) do
local outputFile = string.format("%s/%s.%s", self.BUILD_DIR, luaSourceFilePath, "c")
local outputFile =
string.format("%s/%s.%s", self.BUILD_DIR, luaSourceFilePath, NinjaBuildTools.OBJECT_FILE_EXTENSION)
ninjaFile:AddBuildEdge(outputFile, "bcsave " .. luaSourceFilePath)
table.insert(objectFiles, outputFile)
end
Expand Down

0 comments on commit 69ca177

Please sign in to comment.