aboutsummaryrefslogtreecommitdiff
path: root/ports/libiconv
diff options
context:
space:
mode:
Diffstat (limited to 'ports/libiconv')
-rw-r--r--ports/libiconv/CONTROL2
-rw-r--r--ports/libiconv/portfile.cmake7
2 files changed, 6 insertions, 3 deletions
diff --git a/ports/libiconv/CONTROL b/ports/libiconv/CONTROL
index ec885fe69..f7414b819 100644
--- a/ports/libiconv/CONTROL
+++ b/ports/libiconv/CONTROL
@@ -1,5 +1,5 @@
Source: libiconv
Version: 1.16
-Port-Version: 7
+Port-Version: 8
Homepage: https://www.gnu.org/software/libiconv/
Description: GNU Unicode text conversion
diff --git a/ports/libiconv/portfile.cmake b/ports/libiconv/portfile.cmake
index 85ccce0c8..a5d2d70e8 100644
--- a/ports/libiconv/portfile.cmake
+++ b/ports/libiconv/portfile.cmake
@@ -1,4 +1,4 @@
-if(NOT VCPKG_TARGET_IS_WINDOWS)
+if(NOT VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_TARGET_IS_ANDROID)
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/share/iconv)
file(COPY ${CMAKE_CURRENT_LIST_DIR}/vcpkg-cmake-wrapper.cmake DESTINATION ${CURRENT_PACKAGES_DIR}/share/iconv)
@@ -21,11 +21,14 @@ vcpkg_extract_source_archive_ex(
0003-Add-export.patch
)
+if (NOT VCPKG_TARGET_IS_ANDROID)
+ list(APPEND OPTIONS --enable-relocatable)
+endif()
+
vcpkg_configure_make(SOURCE_PATH ${SOURCE_PATH}
DETERMINE_BUILD_TRIPLET
USE_WRAPPERS
OPTIONS
- --enable-relocatable
--enable-extra-encodings
--without-libiconv-prefix
--without-libintl-prefix