aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authormiheer vaidya <v.miheer@gmail.com>2021-01-19 16:29:30 -0700
committerGitHub <noreply@github.com>2021-01-19 15:29:30 -0800
commit852d471ff34bec009b2826b4263d2ef4b91b57e8 (patch)
tree2b7a9deee14ca2563c73ba2415d10fbf895d0559 /ports
parent2f542209ce25b9621279f149ebac5402cfaccbe5 (diff)
downloadvcpkg-852d471ff34bec009b2826b4263d2ef4b91b57e8.tar.gz
vcpkg-852d471ff34bec009b2826b4263d2ef4b91b57e8.zip
[libconfig] shlwapi is not available on linux (#15613)
* shlwapi is not available on linux This fixes error while building for `x64-linux-dynamic`. * Update control version * Update port_versions Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com> Co-authored-by: NancyLi1013 <lirui09@beyondsoft.com>
Diffstat (limited to 'ports')
-rw-r--r--ports/libconfig/CMakeLists.txt5
-rw-r--r--ports/libconfig/CONTROL3
2 files changed, 6 insertions, 2 deletions
diff --git a/ports/libconfig/CMakeLists.txt b/ports/libconfig/CMakeLists.txt
index fe70cb9dd..53ca6f4e0 100644
--- a/ports/libconfig/CMakeLists.txt
+++ b/ports/libconfig/CMakeLists.txt
@@ -37,7 +37,10 @@ else()
target_compile_definitions(libconfig++ PUBLIC -DLIBCONFIGXX_STATIC)
endif()
-target_link_libraries(libconfig shlwapi)
+if (WIN32)
+ # Linux doesn't have shlwapi
+ target_link_libraries(libconfig shlwapi)
+endif()
target_link_libraries(libconfig++ PRIVATE libconfig)
install(
diff --git a/ports/libconfig/CONTROL b/ports/libconfig/CONTROL
index b6b5eb74b..f3a634240 100644
--- a/ports/libconfig/CONTROL
+++ b/ports/libconfig/CONTROL
@@ -1,4 +1,5 @@
Source: libconfig
-Version: 1.7.2-2
+Version: 1.7.2
+Port-Version: 3
Homepage: https://github.com/hyperrealm/libconfig
Description: C/C++ library for processing configuration files