diff options
| author | NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com> | 2020-05-22 02:39:48 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-21 11:39:48 -0700 |
| commit | 4c1db6840fa7661cf2adb27fa56e4bd0c6f022ea (patch) | |
| tree | 715e25be133b1e6d5d6984678002e69f3332ccaa /ports/python3/portfile.cmake | |
| parent | cbe795f7888861167f9e930397fed97158d1f7dc (diff) | |
| download | vcpkg-4c1db6840fa7661cf2adb27fa56e4bd0c6f022ea.tar.gz vcpkg-4c1db6840fa7661cf2adb27fa56e4bd0c6f022ea.zip | |
[python3] Fix dynamic build error on Linux (#11489)
* [python3] Fix dynamic build error on Linux
* Update baseline to resolve the regression
Diffstat (limited to 'ports/python3/portfile.cmake')
| -rw-r--r-- | ports/python3/portfile.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
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() |
