aboutsummaryrefslogtreecommitdiff
path: root/ports/gdk-pixbuf
diff options
context:
space:
mode:
Diffstat (limited to 'ports/gdk-pixbuf')
-rw-r--r--ports/gdk-pixbuf/CONTROL8
-rw-r--r--ports/gdk-pixbuf/portfile.cmake8
2 files changed, 7 insertions, 9 deletions
diff --git a/ports/gdk-pixbuf/CONTROL b/ports/gdk-pixbuf/CONTROL
index 2a0fbfaf3..7d485d95b 100644
--- a/ports/gdk-pixbuf/CONTROL
+++ b/ports/gdk-pixbuf/CONTROL
@@ -1,4 +1,4 @@
-Source: gdk-pixbuf
-Version: 2.36.9-1
-Description: Image loading library.
-Build-Depends: gettext, zlib, libpng, glib
+Source: gdk-pixbuf
+Version: 2.36.9-2
+Description: Image loading library.
+Build-Depends: gettext, zlib, libpng, glib
diff --git a/ports/gdk-pixbuf/portfile.cmake b/ports/gdk-pixbuf/portfile.cmake
index 72469abff..06f06cb5d 100644
--- a/ports/gdk-pixbuf/portfile.cmake
+++ b/ports/gdk-pixbuf/portfile.cmake
@@ -1,11 +1,9 @@
-if (VCPKG_LIBRARY_LINKAGE STREQUAL static)
- message(STATUS "Warning: Static building not supported. Building dynamic.")
- set(VCPKG_LIBRARY_LINKAGE dynamic)
-endif()
+include(vcpkg_common_functions)
+
+vcpkg_check_linkage(ONLY_DYNAMIC_LIBRARY)
set(GDK_PIXBUF_VERSION 2.36)
set(GDK_PIXBUF_PATCH 9)
-include(vcpkg_common_functions)
set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/gdk-pixbuf-${GDK_PIXBUF_VERSION}.${GDK_PIXBUF_PATCH})
vcpkg_download_distfile(ARCHIVE
URLS "http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/${GDK_PIXBUF_VERSION}/gdk-pixbuf-${GDK_PIXBUF_VERSION}.${GDK_PIXBUF_PATCH}.tar.xz"