aboutsummaryrefslogtreecommitdiff
path: root/.local/share/python-playerctl_systray/Makefile
diff options
context:
space:
mode:
authorkj-sh6042025-01-09 20:43:58 -0500
committerkj-sh6042025-01-09 20:43:58 -0500
commit3958212cbfaa2977e311a459154a5519f2e8357a (patch)
tree2acc302189fab0c4bfb340d06ce2daa690f6daf8 /.local/share/python-playerctl_systray/Makefile
parent0ed813a8181c82865df7d2b7dfcc736b5ba86847 (diff)
refactor: make sure to use latest `python`
Diffstat (limited to '.local/share/python-playerctl_systray/Makefile')
-rw-r--r--.local/share/python-playerctl_systray/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/share/python-playerctl_systray/Makefile b/.local/share/python-playerctl_systray/Makefile
index e135452..98edca1 100644
--- a/.local/share/python-playerctl_systray/Makefile
+++ b/.local/share/python-playerctl_systray/Makefile
@@ -1,4 +1,4 @@
compile:
cython3 --embed -o playerctl_systray.c -X language_level=3 playerctl_systray.py
- PYTHON_VERSION=`ls /usr/include | grep -o 'python[3-9]\+\.[0-9]\+'` ; \
+ PYTHON_VERSION=`ls /usr/include | grep -o 'python[3-9]\+\.[0-9]\+' | tail -1` ; \
gcc -march=native -O2 -pipe -fno-plt -I /usr/include/$$PYTHON_VERSION -o playerctl_systray playerctl_systray.c -l$$PYTHON_VERSION -lpthread -lm -lutil -ldl `pkg-config --cflags --libs gtk+-3.0 appindicator3-0.1 dbus-1 dbus-glib-1`