diff options
| author | Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> | 2020-09-14 15:51:49 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-14 15:51:49 -0700 |
| commit | a9a1dac8c6996e67551e686441b2d61a77418eb1 (patch) | |
| tree | 5c85b760ba08e9aee61b1b9f522ea978d03b6f57 | |
| parent | 998ecbc9d7e10e3fc7227847afe7c910a52df6e1 (diff) | |
| download | vcpkg-a9a1dac8c6996e67551e686441b2d61a77418eb1.tar.gz vcpkg-a9a1dac8c6996e67551e686441b2d61a77418eb1.zip | |
[sdl2] Fix pkgconfig: missing system lib dbus-1 (#13520)
| -rw-r--r-- | ports/sdl2/CONTROL | 2 | ||||
| -rw-r--r-- | ports/sdl2/portfile.cmake | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/ports/sdl2/CONTROL b/ports/sdl2/CONTROL index 7ea632935..5aa62903a 100644 --- a/ports/sdl2/CONTROL +++ b/ports/sdl2/CONTROL @@ -1,6 +1,6 @@ Source: sdl2 Version: 2.0.12 -Port-Version: 3 +Port-Version: 4 Homepage: https://www.libsdl.org/download-2.0.php 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 ef287e301..d9ed365f4 100644 --- a/ports/sdl2/portfile.cmake +++ b/ports/sdl2/portfile.cmake @@ -94,4 +94,7 @@ string(REGEX REPLACE ${DYLIB_CURRENT_VERSION_REGEX} "\\1" DYLIB_CURRENT_VERSION vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/sdl2.pc" "-lSDL2" "-lSDL2d") -vcpkg_fixup_pkgconfig(IGNORE_FLAGS "-Wl,-rpath,${CURRENT_PACKAGES_DIR}/lib/pkgconfig/../../lib" "-Wl,-rpath,${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/../../lib" "-Wl,--enable-new-dtags" "-Wl,--no-undefined" "-Wl,-undefined,error" "-Wl,-compatibility_version,${DYLIB_COMPATIBILITY_VERSION}" "-Wl,-current_version,${DYLIB_CURRENT_VERSION}" "-Wl,-weak_framework,Metal" "-Wl,-weak_framework,QuartzCore") +vcpkg_fixup_pkgconfig( + IGNORE_FLAGS "-Wl,-rpath,${CURRENT_PACKAGES_DIR}/lib/pkgconfig/../../lib" "-Wl,-rpath,${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/../../lib" "-Wl,--enable-new-dtags" "-Wl,--no-undefined" "-Wl,-undefined,error" "-Wl,-compatibility_version,${DYLIB_COMPATIBILITY_VERSION}" "-Wl,-current_version,${DYLIB_CURRENT_VERSION}" "-Wl,-weak_framework,Metal" "-Wl,-weak_framework,QuartzCore" + SYSTEM_LIBRARIES dbus-1 +) |
