aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alex@karatarakis.com>2016-12-22 14:09:48 -0800
committerGitHub <noreply@github.com>2016-12-22 14:09:48 -0800
commit63d3c237c1f7ab75c753ea98a5a1658e08d44fa1 (patch)
treef4555c4fe3bd57010ad67bf66fb8d006474d639f
parent2cd17a5cecbdb3f9b8f2e1d2227eb088432a9dcf (diff)
parent12f8636815aeb4fbee37f4eda6fb9cc8354d8936 (diff)
downloadvcpkg-63d3c237c1f7ab75c753ea98a5a1658e08d44fa1.tar.gz
vcpkg-63d3c237c1f7ab75c753ea98a5a1658e08d44fa1.zip
Merge pull request #437 from codicodi/fix-sdl2
[sdl2] make SDL use libc
-rw-r--r--ports/sdl2/CONTROL4
-rw-r--r--ports/sdl2/portfile.cmake1
2 files changed, 3 insertions, 2 deletions
diff --git a/ports/sdl2/CONTROL b/ports/sdl2/CONTROL
index 7f10c1954..3e6b8a5ec 100644
--- a/ports/sdl2/CONTROL
+++ b/ports/sdl2/CONTROL
@@ -1,3 +1,3 @@
Source: sdl2
-Version: 2.0.5
-Description: Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. \ No newline at end of file
+Version: 2.0.5-1
+Description: Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D.
diff --git a/ports/sdl2/portfile.cmake b/ports/sdl2/portfile.cmake
index 81439567c..ba99334eb 100644
--- a/ports/sdl2/portfile.cmake
+++ b/ports/sdl2/portfile.cmake
@@ -47,6 +47,7 @@ else()
-DSDL_STATIC=${SDL_STATIC_LIB}
-DSDL_SHARED=${SDL_SHARED_LIB}
-DFORCE_STATIC_VCRT=${SDL_STATIC_CRT}
+ -DLIBC=ON
)
vcpkg_install_cmake()