Skip to content

Commit 70f3f38

Browse files
committed
misc/klayout: fix python libname and run exports
1 parent add658c commit 70f3f38

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

misc/klayout/force-python-dynamic-link.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ index e49c132e5..a035474bc 100755
3535
- echo " Python library found: $PYTHONLIBFILE"
3636
- fi
3737
- fi
38-
+ PYTHONLIBFILE=-lpython`$PYTHON -c "import sysconfig; print(sysconfig.get_config_vars('VERSION')[0])" 2>/dev/null`
38+
+ PYTHONLIBFILE=-lpython`$PYTHON -c "import sysconfig; print(sysconfig.get_config_vars('LDVERSION')[0])" 2>/dev/null`
3939
+ echo " Python library found: $PYTHONLIBFILE"
4040
fi
4141

misc/klayout/meta.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ requirements:
4444
- ruby
4545
- qt
4646
run:
47-
- python
47+
- python {{ python_version }}
4848
- ruby
4949
- qt
5050

0 commit comments

Comments
 (0)