aboutsummaryrefslogtreecommitdiff
path: root/ports/pangolin/fix-dependency-python.patch
diff options
context:
space:
mode:
authorJack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>2020-08-06 22:14:40 -0700
committerGitHub <noreply@github.com>2020-08-06 22:14:40 -0700
commitaccd1c870cf0bad5be8be0d753f90bdac660c89c (patch)
treebcadf0b206d2b0976024e56c0a921885382d6bda /ports/pangolin/fix-dependency-python.patch
parent3cab101b18dd2cab1fef7853d145f6eed0564cd8 (diff)
downloadvcpkg-accd1c870cf0bad5be8be0d753f90bdac660c89c.tar.gz
vcpkg-accd1c870cf0bad5be8be0d753f90bdac660c89c.zip
[pangolin] Fix build failure on UNIX (#12515)
* [pangolin] Finx find dependency ffmpeg components * update baseline * [pangolin] Improve portfile.cmake * [pangolin] Drop support with osx * disable static build * Add system libraries to dependency * Update ports/pangolin/CONTROL Co-authored-by: nicole mazzuca <mazzucan@outlook.com> Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Diffstat (limited to 'ports/pangolin/fix-dependency-python.patch')
-rw-r--r--ports/pangolin/fix-dependency-python.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/ports/pangolin/fix-dependency-python.patch b/ports/pangolin/fix-dependency-python.patch
new file mode 100644
index 000000000..82b1ea83e
--- /dev/null
+++ b/ports/pangolin/fix-dependency-python.patch
@@ -0,0 +1,14 @@
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 7f364a7..b6567a2 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -213,6 +213,9 @@ endif()
+ find_package(PythonLibs QUIET)
+ if(BUILD_PANGOLIN_GUI AND BUILD_PANGOLIN_VARS AND PYTHONLIBS_FOUND AND NOT _WIN_)
+ set(HAVE_PYTHON 1)
++ if (UNIX)
++ set(PYTHON_LIBRARY ${PYTHON_LIBRARY} dl)
++ endif()
+ list(APPEND HEADERS
+ ${INCDIR}/console/ConsoleInterpreter.h
+ ${INCDIR}/console/ConsoleView.h