diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-03-31 14:35:31 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-04-05 15:18:18 +0700 |
commit | e75fbd90b54159864bdb938f927e81117e6eb2c3 (patch) | |
tree | 0a76b2aefafd19fc249e5eccd13b2892c80ea6d9 /system/fwupd | |
parent | 0c3bb00b73c2e54c402938751526e87f2d9ea01c (diff) |
system/fwupd: Fix PYTHONPATH.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/fwupd')
-rw-r--r-- | system/fwupd/fwupd.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/system/fwupd/fwupd.SlackBuild b/system/fwupd/fwupd.SlackBuild index b0985d4fa5c67..7d8312a4db1f4 100644 --- a/system/fwupd/fwupd.SlackBuild +++ b/system/fwupd/fwupd.SlackBuild @@ -81,7 +81,8 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # to use updated meson -export PYTHONPATH=/opt/python3.9/site-packages/ +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages/ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ |