diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2024-03-31 11:33:41 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-04-05 15:18:10 +0700 |
commit | 0b37ea1604b0aef00a6db3be6b6bc35907d05ec0 (patch) | |
tree | 3e536e970780a5cdcb6404f2675618d4a47fc036 /graphics | |
parent | 18cd275494834f0916da78ab6a67ba1945b50612 (diff) |
graphics/libplacebo: Fix PYTHONPATH.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/libplacebo/libplacebo.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/libplacebo/libplacebo.SlackBuild b/graphics/libplacebo/libplacebo.SlackBuild index 0a23508bc7db4..ddda6f8e38f23 100644 --- a/graphics/libplacebo/libplacebo.SlackBuild +++ b/graphics/libplacebo/libplacebo.SlackBuild @@ -87,7 +87,8 @@ else RELEASE=plain fi -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" \ |