summaryrefslogtreecommitdiff
path: root/dev-games/tiled/files/tiled-1.4.3-python-38.patch
blob: 5515fa8fff2f4df5e5f7d443c4fcdec68515d81e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/src/plugins/python/find_python.pri
+++ b/src/plugins/python/find_python.pri
@@ -1,6 +1,10 @@
 !contains(DISABLE_PYTHON_PLUGIN, yes) {
     unix {
-        packagesExist(python3) {
+        packagesExist(python3-embed) {
+            HAVE_PYTHON = yes
+            CONFIG += link_pkgconfig
+            PKGCONFIG += python3-embed
+        } else:packagesExist(python3) {
             HAVE_PYTHON = yes
             CONFIG += link_pkgconfig
             PKGCONFIG += python3