aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorkwiechen <kwiechen1@gmail.com>2021-04-09 18:57:32 +0200
committerGitHub <noreply@github.com>2021-04-09 09:57:32 -0700
commit326425d8ff199fbefd8be640578ba3c517f00920 (patch)
tree2914bda8d04e989e7934f4bf1982102287c7ce0c /ports
parentc739e82beccbdc3ac63c6e1ec486445cbcb9a018 (diff)
downloadvcpkg-326425d8ff199fbefd8be640578ba3c517f00920.tar.gz
vcpkg-326425d8ff199fbefd8be640578ba3c517f00920.zip
[glib] fix build error for x64-linux-dynamic (#17117)
* [cairo] Add pkgconfig file * [cairo] Add pkgconfig file
Diffstat (limited to 'ports')
-rw-r--r--ports/glib/CMakeLists.txt2
-rw-r--r--ports/glib/CONTROL2
2 files changed, 2 insertions, 2 deletions
diff --git a/ports/glib/CMakeLists.txt b/ports/glib/CMakeLists.txt
index b0ee220aa..47ebf0f47 100644
--- a/ports/glib/CMakeLists.txt
+++ b/ports/glib/CMakeLists.txt
@@ -181,7 +181,7 @@ endif()
# gmodule
add_library(gmodule gmodule/gmodule.c)
target_compile_definitions(gmodule PRIVATE G_LOG_DOMAIN="GModule")
-target_link_libraries(gmodule PRIVATE glib ${Intl_LIBRARIES})
+target_link_libraries(gmodule PRIVATE glib ${CMAKE_DL_LIBS} ${Intl_LIBRARIES})
target_include_directories(gmodule PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/gmodule>)
target_include_directories(gmodule PRIVATE ${Intl_INCLUDE_DIRS} PUBLIC $<INSTALL_INTERFACE:include>)
list(APPEND GLIB_TARGETS gmodule)
diff --git a/ports/glib/CONTROL b/ports/glib/CONTROL
index 48501faaa..915deccd5 100644
--- a/ports/glib/CONTROL
+++ b/ports/glib/CONTROL
@@ -1,6 +1,6 @@
Source: glib
Version: 2.52.3
-Port-Version: 25
+Port-Version: 26
Homepage: https://developer.gnome.org/glib/
Description: Portable, general-purpose utility library.
Build-Depends: zlib, pcre, libffi, gettext, libiconv