Merge pull request #1266 from ifarbod/android-visibility-hidden

Implement the 'visibility' API for Android projects
This commit is contained in:
Samuel Surtees 2019-04-08 23:01:58 +10:00 committed by GitHub
commit 1510109588
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -338,6 +338,11 @@
end
end
-- -fvisibility=<>
if cfg.visibility ~= nil then
table.insert(opts, p.tools.gcc.cxxflags.visibility[cfg.visibility])
end
if #opts > 0 then
opts = table.concat(opts, " ")
vc2010.element("AdditionalOptions", condition, '%s %%(AdditionalOptions)', opts)