diff options
Diffstat (limited to 'ports/python3')
| -rw-r--r-- | ports/python3/CONTROL | 3 | ||||
| -rw-r--r-- | ports/python3/portfile.cmake | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ports/python3/CONTROL b/ports/python3/CONTROL index 602c42355..3c6ba8eb1 100644 --- a/ports/python3/CONTROL +++ b/ports/python3/CONTROL @@ -1,8 +1,9 @@ Source: python3 -Version: 3.7.3-2 +Version: 3.7.3-3 Homepage: https://github.com/python/cpython Description: The Python programming language as an embeddable library Build-Depends: libffi, openssl Feature: enable-shared Description: Build shared libraries in addition to static ones built by default +Build-Depends: zlib (!uwp&!windows) diff --git a/ports/python3/portfile.cmake b/ports/python3/portfile.cmake index 44fe20fd2..807b549d1 100644 --- a/ports/python3/portfile.cmake +++ b/ports/python3/portfile.cmake @@ -18,6 +18,9 @@ vcpkg_from_github( if("enable-shared" IN_LIST FEATURES) set(_ENABLED_SHARED --enable-shared) + if(VCPKG_TARGET_IS_LINUX) + message(WARNING"Feature enable-shared requires libffi-devel from the system package manager, please install it on Ubuntu system via sudo apt-get install libffi-dev.") + endif() else() unset(_ENABLED_SHARED) endif() |
