aboutsummaryrefslogtreecommitdiff
path: root/.local/share/python-dateTimeSetter/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '.local/share/python-dateTimeSetter/Makefile')
-rw-r--r--.local/share/python-dateTimeSetter/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/share/python-dateTimeSetter/Makefile b/.local/share/python-dateTimeSetter/Makefile
index 784db9d..91b1c6e 100644
--- a/.local/share/python-dateTimeSetter/Makefile
+++ b/.local/share/python-dateTimeSetter/Makefile
@@ -1,4 +1,4 @@
compile:
cython3 --embed -o dateTime.c -X language_level=3 dateTime.py
- PYTHON_VERSION=`ls /usr/include | grep -o 'python[3-9]\+\.[0-9]\+' | tail -1` ; \
+ PYTHON_VERSION=`ls --sort version /usr/include | grep -o 'python[3-9]\+\.[0-9]\+' | tail -1` ; \
gcc -march=native -O2 -pipe -fno-plt -I /usr/include/$$PYTHON_VERSION -o dateTime dateTime.c -l$$PYTHON_VERSION -lpthread -lm -lutil -ldl