diff --git a/dub.json b/dub.json index cb79df35..fcaf2e35 100644 --- a/dub.json +++ b/dub.json @@ -9,8 +9,6 @@ "targetPath": "lib", "targetType": "staticLibrary", - "copyFiles-windows": ["lib/libfreetype-6.dll", "lib/zlib1.dll"], - "sourcePaths": [ "3rdparty", "src" ], @@ -51,7 +49,9 @@ }, "dependencies-posix": { "derelict-sdl2": "~>1.9.1" - } + }, + "copyFiles-windows-x86_64": ["libs/windows/x86_64/libfreetype-6.dll"], + "copyFiles-windows-x86": ["libs/windows/x86/libfreetype-6.dll"] }, { "name": "sdl", @@ -64,7 +64,8 @@ "derelict-sdl2": "~>1.9.1", "gl3n": "~>1.0.1" }, - "copyFiles-windows": ["lib/SDL2.dll"], + "copyFiles-windows-x86_64": ["libs/windows/x86_64/libfreetype-6.dll", "libs/windows/x86_64/SDL2.dll"], + "copyFiles-windows-x86": ["libs/windows/x86/libfreetype-6.dll", "libs/windows/x86/SDL2.dll"] }, { "name": "sfml", @@ -76,7 +77,9 @@ "derelict-ft": "~>1.0.0", "gl3n": "~>1.0.1", "dsfml": "~master" - } + }, + "copyFiles-windows-x86_64": ["libs/windows/x86_64/libfreetype-6.dll"], + "copyFiles-windows-x86": ["libs/windows/x86/libfreetype-6.dll"] } ] } diff --git a/lib/libfreetype-6.dll b/lib/libfreetype-6.dll deleted file mode 100644 index 339afdfa..00000000 Binary files a/lib/libfreetype-6.dll and /dev/null differ diff --git a/lib/zlib1.dll b/lib/zlib1.dll deleted file mode 100644 index d9489311..00000000 Binary files a/lib/zlib1.dll and /dev/null differ diff --git a/lib/SDL2.dll b/libs/windows/x86/SDL2.dll similarity index 100% rename from lib/SDL2.dll rename to libs/windows/x86/SDL2.dll diff --git a/libs/windows/x86/libfreetype-6.dll b/libs/windows/x86/libfreetype-6.dll new file mode 100644 index 00000000..2e06896e Binary files /dev/null and b/libs/windows/x86/libfreetype-6.dll differ diff --git a/libs/windows/x86_64/SDL2.dll b/libs/windows/x86_64/SDL2.dll new file mode 100644 index 00000000..a65b22ce Binary files /dev/null and b/libs/windows/x86_64/SDL2.dll differ diff --git a/libs/windows/x86_64/libfreetype-6.dll b/libs/windows/x86_64/libfreetype-6.dll new file mode 100644 index 00000000..8cf3a07a Binary files /dev/null and b/libs/windows/x86_64/libfreetype-6.dll differ