I implemented Miro's suggestion, at least I tried. ## Add --embed flag for python 3.8 Support #if 0%{?fedora} >= 31 sed -i -e 's:$(shell python-config --libs):$(shell python3-config --libs --embed || python3-config --libs):' Makefile sed -i -e 's:$(shell pkg-config --cflags --libs jansson):$(shell pkg-config python3.8-embed --cflags --libs jansson || pkg-config python38 --cflags --libs jansson):' Makefile sed -i -e 's:$(shell pkg-config --libs libsystemd):$(shell pkg-config python3.8-embed --libs libsystemd || pkg-config python38 --libs libsystemd):' Makefile sed -i -e 's:$(shell pkg-config --libs libsystemd-daemon):$(shell pkg-config python3.8-embed --libs libsystemd-daemon || pkg-config python38 --libs libsystemd-daemon):' Makefile sed -i -e 's:CFLAGS += -std=c++11 -D__STDC_FORMAT_MACROS:CFLAGS += -D__STDC_FORMAT_MACROS:' Make.config sed -i -e 's:$(shell pkg-config --libs libsystemd):$(shell pkg-config python3.8-embed --libs libsystemd || pkg-config python3.8 --libs libsystemd):' lib/Makefile sed -i -e 's:$(shell pkg-config --cflags libsystemd):$(shell pkg-config python3.8-embed --cflags libsystemd || pkg-config python3.8 --cflags libsystemd):' lib/Makefile sed -i -e 's:$(shell pkg-config --libs libsystemd-daemon):$(shell pkg-config python3.8-embed --libs libsystemd-daemon || pkg-config python3.8 --libs libsystemd-daemon):' lib/Makefile sed -i -e 's:$(shell pkg-config --cflags libsystemd-daemon):$(shell pkg-config python3.8-embed --cflags libsystemd-daemon || pkg-config python3.8 --cflags libsystemd-daemon):' lib/Makefile #endif _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx