diff --git a/modules/android/vsandroid_vcxproj.lua b/modules/android/vsandroid_vcxproj.lua index 4e0e07ea..b5b12b73 100644 --- a/modules/android/vsandroid_vcxproj.lua +++ b/modules/android/vsandroid_vcxproj.lua @@ -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)