Skip to content

Commit f450d72

Browse files
committed
Remove macOS version prefix for parser bindings.
1 parent 7c27053 commit f450d72

17 files changed

+8
-8
lines changed

build/Helpers.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,11 +253,11 @@ function AddPlatformSpecificFiles(folder, filename)
253253
files { path.join(folder, "i686-pc-win32-msvc", filename) }
254254
elseif os.istarget("macosx") then
255255
filter { "architecture:arm64" }
256-
files { path.join(folder, "arm64-apple-darwin12.4.0", filename) }
256+
files { path.join(folder, "arm64-apple-darwin", filename) }
257257
filter { "architecture:x86_64" }
258-
files { path.join(folder, "x86_64-apple-darwin12.4.0", filename) }
258+
files { path.join(folder, "x86_64-apple-darwin", filename) }
259259
filter {"architecture:x86" }
260-
files { path.join(folder, "i686-apple-darwin12.4.0", filename) }
260+
files { path.join(folder, "i686-apple-darwin", filename) }
261261
elseif os.istarget("linux") then
262262
filter { "architecture:arm64" }
263263
files { path.join(folder, "arm64-linux-gnu" .. (UseCxx11ABI() and "-cxx11abi" or ""), filename) }

src/CppParser/Bindings/CSharp/CppSharp.Parser.CSharp.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
<PlatformParserFolder Condition="$(IsWindows) AND $(PlatformTarget) == x64">x86_64-pc-win32-msvc</PlatformParserFolder>
1010
<PlatformParserFolder Condition="$(IsLinux) AND $(PlatformTarget) == x64 AND $(UseCXX11ABI)">x86_64-linux-gnu-cxx11abi</PlatformParserFolder>
1111
<PlatformParserFolder Condition="$(IsLinux) AND $(PlatformTarget) == x64 AND !$(UseCXX11ABI)">x86_64-linux-gnu</PlatformParserFolder>
12-
<PlatformParserFolder Condition="$(IsMacOSX) AND $(PlatformTarget) == x64">x86_64-apple-darwin12.4.0</PlatformParserFolder>
12+
<PlatformParserFolder Condition="$(IsMacOSX) AND $(PlatformTarget) == x64">x86_64-apple-darwin</PlatformParserFolder>
1313
<PlatformParserFolder Condition="$(IsWindows) AND $(PlatformTarget) == x86">i686-pc-win32-msvc</PlatformParserFolder>
14-
<PlatformParserFolder Condition="$(IsMacOSX) AND $(PlatformTarget) == x86">i686-apple-darwin12.4.0</PlatformParserFolder>
14+
<PlatformParserFolder Condition="$(IsMacOSX) AND $(PlatformTarget) == x86">i686-apple-darwin</PlatformParserFolder>
1515
</PropertyGroup>
1616

1717
<ItemGroup>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)